feat: add demo for mark and user org model
This commit is contained in:
9
src/modules/mark.ts
Normal file
9
src/modules/mark.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { Mark, markModelInit } from '@kevisual/mark';
|
||||
|
||||
export { Mark, markModelInit };
|
||||
|
||||
export const init = () => {
|
||||
markModelInit({
|
||||
tableName: '',
|
||||
});
|
||||
};
|
||||
1
src/modules/sequelize.ts
Normal file
1
src/modules/sequelize.ts
Normal file
@@ -0,0 +1 @@
|
||||
export { sequelize } from '@kevisual/code-center-module';
|
||||
9
src/modules/user.ts
Normal file
9
src/modules/user.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { sequelize, User, UserInit, Org, OrgInit } from '@kevisual/code-center-module';
|
||||
|
||||
export { sequelize, User, UserInit, Org, OrgInit };
|
||||
|
||||
export const init = () => {
|
||||
UserInit();
|
||||
OrgInit();
|
||||
};
|
||||
init();
|
||||
Reference in New Issue
Block a user