Skip to content

Commit 461e793

Browse files
committed
chore(configurer): add crud templates
1 parent ba4fb49 commit 461e793

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

configurer/index.ts

+20
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,26 @@ export default class DatabaseConfigurer extends BaseConfigurer {
8787
'migration',
8888
'node_modules/@athenna/database/templates/migration.edge'
8989
)
90+
.setTo(
91+
'templates',
92+
'crud-model',
93+
'node_modules/@athenna/database/templates/crud-model.edge'
94+
)
95+
.setTo(
96+
'templates',
97+
'crud-migration',
98+
'node_modules/@athenna/database/templates/crud-migration.edge'
99+
)
100+
.setTo(
101+
'templates',
102+
'crud-service',
103+
'node_modules/@athenna/database/templates/crud-service.edge'
104+
)
105+
.setTo(
106+
'templates',
107+
'crud-controller',
108+
'node_modules/@athenna/database/templates/crud-controller.edge'
109+
)
90110
.save()
91111
})
92112

0 commit comments

Comments
 (0)