api clear db
This commit is contained in:
parent
48dcb3582a
commit
c0e38237a6
1 changed files with 11 additions and 0 deletions
|
|
@ -91,6 +91,17 @@ export class DevelopmentController extends Controller {
|
|||
private strategyChild4Repository = AppDataSource.getRepository(StrategyChild4);
|
||||
private strategyChild5Repository = AppDataSource.getRepository(StrategyChild5);
|
||||
|
||||
/**
|
||||
* API ล้างข้อมูล
|
||||
*
|
||||
* @summary ล้างข้อมูล
|
||||
*
|
||||
*/
|
||||
@Get("clear-db")
|
||||
async ClearDb() {
|
||||
return new HttpSuccess();
|
||||
}
|
||||
|
||||
/**
|
||||
* API เพิ่มโครงการ/หลักสูตรการฝึกอบรม
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue