chore: code cleanup
This commit is contained in:
parent
4506271af5
commit
a2006fdc6a
@ -70,7 +70,7 @@ Database:
|
|||||||
|
|
||||||
~~~shell
|
~~~shell
|
||||||
mkdir my-nocobase-app && cd my-nocobase-app
|
mkdir my-nocobase-app && cd my-nocobase-app
|
||||||
yarn create @nocobase/nocobase-app
|
yarn create nocobase-app
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
docker-compose up -d postgres
|
docker-compose up -d postgres
|
||||||
yarn install
|
yarn install
|
||||||
|
@ -2,14 +2,8 @@
|
|||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
Install dependencies,
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ yarn
|
yarn install
|
||||||
```
|
yarn nocobase init
|
||||||
|
yarn start
|
||||||
Start the dev server,
|
|
||||||
|
|
||||||
```bash
|
|
||||||
$ yarn start
|
|
||||||
```
|
```
|
||||||
|
@ -33,7 +33,7 @@ export default {
|
|||||||
return next();
|
return next();
|
||||||
}
|
}
|
||||||
await serve(root)(ctx, next);
|
await serve(root)(ctx, next);
|
||||||
console.log('koa-send', root, ctx.status);
|
// console.log('koa-send', root, ctx.status);
|
||||||
if (ctx.status == 404) {
|
if (ctx.status == 404) {
|
||||||
return send(ctx, 'index.html', { root });
|
return send(ctx, 'index.html', { root });
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +0,0 @@
|
|||||||
TRUNCATE "collections" RESTART IDENTITY CASCADE;
|
|
||||||
INSERT INTO "collections" ("name", "logging", "title", "privilege", "sortable", "options", "sort", "created_at", "updated_at", "ui_schema_key") VALUES
|
|
||||||
('users', '1', '用户', 'undelete', '"sort"', '{"createdBy":false,"updatedBy":false}', 2, '2021-09-02 15:07:56.914+00', '2021-09-15 00:59:20.676+00', NULL),
|
|
||||||
('t_fsveob6p269', '1', '顾客', NULL, '"sort"', '{}', 5, '2021-09-12 01:05:52.722+00', '2021-09-18 04:15:23.113+00', NULL),
|
|
||||||
('t_geso7fru7a9', '1', '订单', NULL, '"sort"', '{}', 4, '2021-09-12 01:06:05.19+00', '2021-09-18 04:15:42.566+00', NULL),
|
|
||||||
('t_2uhu4szs1kq', '1', '任务', NULL, '"sort"', '{}', 3, '2021-09-03 08:17:30.495+00', '2021-09-18 04:15:42.572+00', NULL);
|
|
@ -1,55 +0,0 @@
|
|||||||
TRUNCATE "fields" RESTART IDENTITY CASCADE;
|
|
||||||
INSERT INTO "fields" ("key", "name", "interface", "data_type", "privilege", "state", "options", "sort", "created_at", "updated_at", "parent_key", "collection_name", "ui_schema_key", "reverse_key") VALUES
|
|
||||||
('aun85p76s0v', 'f_l8uuiwcnlw9', 'textarea', 'text', NULL, 1, '{}', 8, '2021-09-12 08:18:46.92+00', '2021-09-12 08:18:46.935+00', NULL, 't_2uhu4szs1kq', 'c2pallk0lge', NULL),
|
|
||||||
('sj5p2y4ac06', '70enejazumv', 'updatedAt', 'date', 'undelete', 1, '{"field":"updated_at"}', 2, '2021-09-03 08:17:30.543+00', '2021-09-03 08:17:30.555+00', NULL, 't_2uhu4szs1kq', 'lchrxtjm3d5', NULL),
|
|
||||||
('1fvb1qre4ut', 'baa90jd887d', 'updatedBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"updated_by_id"}', 3, '2021-09-03 08:17:30.579+00', '2021-09-18 04:16:11.834+00', NULL, 't_2uhu4szs1kq', 'd3zwndj0gdt', NULL),
|
|
||||||
('78h1q25dt1h', 'wtojfhp8nwl', 'createdBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"created_by_id"}', 2, '2021-09-03 08:17:30.563+00', '2021-09-18 04:16:11.834+00', NULL, 't_2uhu4szs1kq', 'uxcvj4473q9', NULL),
|
|
||||||
('s30o2rkxcht', 'f_hwenour8ara', 'string', 'string', NULL, 1, '{}', 5, '2021-09-03 08:18:44.958+00', '2021-09-03 08:18:44.975+00', NULL, 't_2uhu4szs1kq', 'c6qmyf4uzl9', NULL),
|
|
||||||
('e76mvcf7a1r', 'f_hznqtmqljb2', 'datetime', 'date', NULL, 1, '{}', 6, '2021-09-03 08:18:44.984+00', '2021-09-03 08:18:45+00', NULL, 't_2uhu4szs1kq', '7u0cu6nfu44', NULL),
|
|
||||||
('c385a9rhd6d', 'f_u4i0jrp4uo6', 'radioGroup', 'string', NULL, 1, '{}', 7, '2021-09-03 08:18:45.009+00', '2021-09-03 08:18:45.028+00', NULL, 't_2uhu4szs1kq', '5de6xmem8vw', NULL),
|
|
||||||
('8ms3ivkxaku', '8ke6k4er30w', 'createdAt', 'date', 'undelete', 1, '{"field":"created_at"}', 1, '2021-09-03 08:17:30.522+00', '2021-09-03 08:17:30.536+00', NULL, 't_2uhu4szs1kq', 'y9y4mgjy6ot', NULL),
|
|
||||||
('ymwwuuje5cf', 'vygajfyejo0', 'updatedBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"updated_by_id"}', 3, '2021-09-12 01:05:52.791+00', '2021-09-18 04:16:11.834+00', NULL, 't_fsveob6p269', 'g6fgjhxwqdt', NULL),
|
|
||||||
('kru7yomwffj', 'f_kk4nspj1i28', 'textarea', 'text', NULL, 1, '{}', 13, '2021-09-12 01:13:43.315+00', '2021-09-14 02:50:54.757+00', NULL, 't_fsveob6p269', 'ic1crmml3ww', NULL),
|
|
||||||
('xjnnqtckv6o', 'f_x9kmuovlm79', 'radioGroup', 'string', NULL, 1, '{}', 11, '2021-09-12 01:13:43.241+00', '2021-09-14 02:50:54.738+00', NULL, 't_fsveob6p269', 'cntdgyegzk1', NULL),
|
|
||||||
('hfry2ook2w4', 'f_n6snaop9d4y', 'chinaRegion', 'belongsToMany', NULL, 1, '{"target":"china_regions","targetKey":"code","through":"t_p13gbi31uux","foreignKey":"f_86s65mbw93e","otherKey":"f_hwx3hgg5b5t","sourceKey":"id"}', 10, '2021-09-12 01:17:01.062+00', '2021-09-14 02:50:54.728+00', NULL, 't_fsveob6p269', 'o21p57oi4ci', NULL),
|
|
||||||
('zobi3o3dqzp', 'f_61znsfh307m', 'select', 'string', NULL, 1, '{}', 8, '2021-09-12 01:17:01.042+00', '2021-09-14 02:50:54.697+00', NULL, 't_fsveob6p269', 'zncs2fmi3md', NULL),
|
|
||||||
('gjc3mks1xvj', 'f_bysgds7j36p', 'datetime', 'date', NULL, 1, '{}', 9, '2021-09-12 01:13:43.26+00', '2021-09-14 02:50:54.713+00', NULL, 't_fsveob6p269', 'wy9l25k1k8n', NULL),
|
|
||||||
('lie1tta3peq', 'f_3det6kr3vn8', 'phone', 'string', NULL, 1, '{}', 7, '2021-09-12 01:13:43.221+00', '2021-09-14 02:50:54.686+00', NULL, 't_fsveob6p269', 'd0vxh9zspr0', NULL),
|
|
||||||
('9cpd377df7t', 'f_tdoe0q00xc6', 'attachment', 'belongsToMany', NULL, 1, '{"target":"attachments","through":"t_jh7a28dsfzi","foreignKey":"f_xg3mysbjfra","otherKey":"f_gc7ppj0b7n1","sourceKey":"id","targetKey":"id"}', 12, '2021-09-12 01:13:43.292+00', '2021-09-12 08:41:20.155+00', NULL, 't_fsveob6p269', 'mz5lwuvl3ne', NULL),
|
|
||||||
('mnglxpxjqs4', 'f_vgw4f62h16e', 'string', 'string', NULL, 1, '{}', 6, '2021-09-12 01:13:43.204+00', '2021-09-12 01:13:43.215+00', NULL, 't_fsveob6p269', 'r9i0nuz6gaa', NULL),
|
|
||||||
('f_c8mes0kp1zt', 'f_c8mes0kp1zt', 'linkTo', 'belongsToMany', NULL, 1, '{"through":"t_bphcojtl8bx","foreignKey":"f_cn6a3p0wq2p","otherKey":"f_4x6u1waa8r6","sourceKey":"id","targetKey":"id","target":"t_geso7fru7a9"}', 5, '2021-09-12 01:09:26.259+00', '2021-09-12 01:13:43.195+00', NULL, 't_fsveob6p269', 'h73wygfixrg', 'nb09uq85geu'),
|
|
||||||
('bz701wfev96', 'xkllcgbvvmt', 'createdBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"created_by_id"}', 2, '2021-09-12 01:05:52.77+00', '2021-09-18 04:16:11.834+00', NULL, 't_fsveob6p269', 'si4x29vvkeb', NULL),
|
|
||||||
('mqcm1jb1ziw', '77trwzoaaei', 'createdAt', 'date', 'undelete', 1, '{"field":"created_at"}', 1, '2021-09-12 01:05:52.734+00', '2021-09-12 01:05:52.746+00', NULL, 't_fsveob6p269', '6zt8a6vfmeg', NULL),
|
|
||||||
('2abol7bhbmj', 'uahfxi6okcs', 'updatedAt', 'date', 'undelete', 1, '{"field":"updated_at"}', 2, '2021-09-12 01:05:52.753+00', '2021-09-12 01:05:52.765+00', NULL, 't_fsveob6p269', 'q1bwolkkq5w', NULL),
|
|
||||||
('19r6wt5b4m3', 'f_nlgk67tpdql', 'select', 'string', NULL, 1, '{}', 7, '2021-09-12 01:09:26.235+00', '2021-09-12 01:09:26.245+00', NULL, 't_geso7fru7a9', 'e5r226qqi20', NULL),
|
|
||||||
('nb09uq85geu', 'f_kkopbnfdd0v', 'linkTo', 'belongsToMany', NULL, 1, '{"through":"t_bphcojtl8bx","foreignKey":"f_4x6u1waa8r6","otherKey":"f_cn6a3p0wq2p","sourceKey":"id","targetKey":"id","target":"t_fsveob6p269"}', 6, '2021-09-12 01:09:26.221+00', '2021-09-12 01:09:26.278+00', NULL, 't_geso7fru7a9', 'kmx147xwkrp', 'f_c8mes0kp1zt'),
|
|
||||||
('nv0iw8wdxmz', '5bjnabydou3', 'createdAt', 'date', 'undelete', 1, '{"field":"created_at"}', 1, '2021-09-12 01:06:05.199+00', '2021-09-12 01:06:05.21+00', NULL, 't_geso7fru7a9', 'u1767w73vdn', NULL),
|
|
||||||
('lu1ibrb0yi2', '44fpkg5ga5n', 'updatedAt', 'date', 'undelete', 1, '{"field":"updated_at"}', 2, '2021-09-12 01:06:05.215+00', '2021-09-12 01:06:05.225+00', NULL, 't_geso7fru7a9', 'fmweeu589m9', NULL),
|
|
||||||
('fp2hcdcmxzm', 'qbe1q17p9kh', 'updatedBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"updated_by_id"}', 3, '2021-09-12 01:06:05.245+00', '2021-09-18 04:16:11.834+00', NULL, 't_geso7fru7a9', 'dzc486mzccr', NULL),
|
|
||||||
('qpme60wf4lt', '1jkpjg7vkgi', 'createdBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"created_by_id"}', 2, '2021-09-12 01:06:05.23+00', '2021-09-18 04:16:11.834+00', NULL, 't_geso7fru7a9', 'bi9n4qdvvk2', NULL),
|
|
||||||
('0qx4mudmft8', 'f_umjewufbyhj', 'datetime', 'date', NULL, 1, '{}', 5, '2021-09-12 01:09:26.202+00', '2021-09-12 01:09:26.215+00', NULL, 't_geso7fru7a9', 'yo6wjwgsfx2', NULL),
|
|
||||||
('ckyhgqq0jru', 'f_niymyj0no38', 'string', 'string', NULL, 1, '{}', 8, '2021-09-12 07:36:53.506+00', '2021-09-12 07:36:53.518+00', NULL, 't_geso7fru7a9', 'x6j2o6xw1by', NULL),
|
|
||||||
('f_80zv5suy9t6', 'email', 'email', 'string', 'undelete', 1, '{"unique":true}', 4, '2021-09-02 15:07:57.001+00', '2021-09-18 04:16:11.839+00', NULL, 'users', '5nqs5glgn5c', NULL),
|
|
||||||
('f_dpll75sxhu6', 'token', 'password', 'string', 'undelete', 0, '{"unique":true,"hidden":true}', 5, '2021-09-02 15:07:57.052+00', '2021-09-02 15:07:57.052+00', NULL, 'users', NULL, NULL),
|
|
||||||
('f_v3pog2zsalc', 'reset_token', 'password', 'string', 'undelete', 0, '{"unique":true,"hidden":true}', 6, '2021-09-02 15:07:57.059+00', '2021-09-02 15:07:57.059+00', NULL, 'users', NULL, NULL),
|
|
||||||
('f_6rhh0scyw9k', 'nickname', 'string', 'string', NULL, 1, '{}', 1, '2021-09-02 15:07:56.974+00', '2021-09-12 00:56:41.776+00', NULL, 'users', 'dtu7erjj0q8', NULL),
|
|
||||||
('f_j367murpzm9', 'password', 'password', 'password', 'undelete', 1, '{}', 2, '2021-09-02 15:07:57.029+00', '2021-09-18 04:16:11.834+00', NULL, 'users', 'a65exd8qcuo', NULL),
|
|
||||||
('6rm0lspbpeh', 'f_l6xhfn14zji', 'subTable', 'hasMany', NULL, 1, '{"target":"t_an8gnr603c0","foreignKey":"f_d57qfk4yfaz"}', 3, '2021-09-12 00:56:41.818+00', '2021-09-18 04:16:11.834+00', NULL, 'users', '412w3sy7u91', NULL),
|
|
||||||
('lmls9t34zne', 'f_xmjn5cfl9co', 'textarea', 'text', NULL, 1, '{}', 10, '2021-09-02 22:28:32.838+00', '2021-09-02 22:28:32.855+00', NULL, NULL, 'hej1gpzthf3', NULL),
|
|
||||||
('sq3hj75dnmk', 'f_jdlw4uf6vfv', 'number', 'float', NULL, 1, '{}', 9, '2021-09-02 22:28:32.82+00', '2021-09-02 22:28:32.83+00', NULL, NULL, 'e5t9w7t3rxu', NULL),
|
|
||||||
('xwhnxsil7b1', 'f_n0snwtdes3r', 'chinaRegion', 'belongsToMany', NULL, 1, '{"target":"china_regions","targetKey":"code","through":"t_by1bsepp8p4","foreignKey":"f_vqbqkbjmucq","otherKey":"f_ux2lh2en547","sourceKey":"id"}', 8, '2021-09-02 22:28:32.8+00', '2021-09-02 22:28:32.814+00', NULL, NULL, '4an73nd4bxh', NULL),
|
|
||||||
('wolxy2l6xp2', 'f_jbqopur80lk', 'attachment', 'belongsToMany', NULL, 1, '{"target":"attachments","through":"t_mrsootcimgg","foreignKey":"f_moakulo9ak1","otherKey":"f_27xvqwj1o9s","sourceKey":"id","targetKey":"id"}', 7, '2021-09-02 22:28:32.777+00', '2021-09-02 22:28:32.792+00', NULL, NULL, '4blpztuxkha', NULL),
|
|
||||||
('2wpjada7upn', 'f_lov82rwvxgk', 'multipleSelect', 'json', NULL, 1, '{}', 6, '2021-09-02 22:27:03.764+00', '2021-09-02 22:27:03.776+00', NULL, NULL, 'exjytl34657', NULL),
|
|
||||||
('ybbxmw9ifwf', 'f_lwyvh77c122', 'string', 'string', NULL, 1, '{}', 5, '2021-09-02 22:27:03.741+00', '2021-09-02 22:27:03.758+00', NULL, NULL, 'xe5j6tk6y52', NULL),
|
|
||||||
('cy37tmd1aa5', '2e5im9hsrau', 'updatedAt', 'date', 'undelete', 1, '{"field":"updated_at"}', 2, '2021-09-02 22:24:30.263+00', '2021-09-02 22:24:30.282+00', NULL, NULL, 'ue90wlv7r26', NULL),
|
|
||||||
('9zmg4gsrbs0', 'ccdop3v4iqw', 'createdAt', 'date', 'undelete', 1, '{"field":"created_at"}', 1, '2021-09-02 22:24:30.239+00', '2021-09-02 22:24:30.255+00', NULL, NULL, 'qc0b0d2xfo4', NULL),
|
|
||||||
('f_1eni2gp5w3g', 'action_logs', 'linkTo', 'hasMany', NULL, 0, '{"target":"action_logs","title":"数据动态","foreignKey":"index","scope":{"collection_name":"t_n93qitmhzty"},"constraints":false}', 7, '2021-09-02 22:24:30.219+00', '2021-09-02 22:24:30.219+00', NULL, NULL, NULL, NULL),
|
|
||||||
('exfseozu257', '3s4pr34nuvz', 'updatedBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"updated_by_id"}', 3, '2021-09-12 01:06:55.172+00', '2021-09-18 04:16:11.834+00', NULL, NULL, 'k40ozwnisyr', NULL),
|
|
||||||
('f_u5fajgprjha', 'action_logs', 'linkTo', 'hasMany', NULL, 0, '{"target":"action_logs","title":"数据动态","foreignKey":"index","scope":{"collection_name":"users"},"constraints":false}', 1, '2021-09-02 15:07:56.957+00', '2021-09-02 15:07:57.071+00', NULL, NULL, NULL, NULL),
|
|
||||||
('b818d9mhozu', '8ly3cyiosfe', 'createdBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"created_by_id"}', 2, '2021-09-02 22:24:30.286+00', '2021-09-18 04:16:11.834+00', NULL, NULL, '32q17i8jcg9', NULL),
|
|
||||||
('x3rcr6i0hy1', 'c9mtu486512', 'updatedBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"updated_by_id"}', 3, '2021-09-02 22:24:30.301+00', '2021-09-18 04:16:11.834+00', NULL, NULL, '1keis1kmsh9', NULL),
|
|
||||||
('qv7j30tzjcu', 'f_m04t8iyg9kc', 'textarea', 'text', NULL, 1, '{}', 2, '2021-09-12 00:56:41.988+00', '2021-09-12 00:56:42.003+00', '6rm0lspbpeh', NULL, '0tq5fymokmh', NULL),
|
|
||||||
('v3hp0idmkuh', 'f_fo0l5irbdt5', 'string', 'string', NULL, 1, '{}', 1, '2021-09-12 00:56:41.958+00', '2021-09-12 00:56:41.976+00', '6rm0lspbpeh', NULL, 'u2m5d5e68n0', NULL),
|
|
||||||
('t6knha71oq1', 'fcgtvpd3jr9', 'createdBy', 'belongsTo', 'undelete', 1, '{"target":"users","foreignKey":"created_by_id"}', 2, '2021-09-12 01:06:55.154+00', '2021-09-18 04:16:11.834+00', NULL, NULL, 'ya58lec57fp', NULL),
|
|
||||||
('drhtax7pxlw', 'nbxtd3jzbw1', 'updatedAt', 'date', 'undelete', 1, '{"field":"updated_at"}', 2, '2021-09-12 01:06:55.14+00', '2021-09-12 01:06:55.149+00', NULL, NULL, '1l9qav1f97v', NULL),
|
|
||||||
('sbrf1cdkpb9', 'h1f9o1xvevb', 'createdAt', 'date', 'undelete', 1, '{"field":"created_at"}', 1, '2021-09-12 01:06:55.123+00', '2021-09-12 01:06:55.133+00', NULL, NULL, 'oo7ejuze28i', NULL);
|
|
@ -1,7 +0,0 @@
|
|||||||
TRUNCATE "routes" RESTART IDENTITY CASCADE;
|
|
||||||
INSERT INTO "routes" ("key", "type", "options", "sort", "created_at", "updated_at", "parent_key", "ui_schema_key") VALUES
|
|
||||||
('r_94b8nz6evyh', 'redirect', '{"from":"/","to":"/admin","exact":true}', 1, '2021-09-02 15:07:57.162+00', '2021-09-02 15:07:57.162+00', NULL, NULL),
|
|
||||||
('r_w1sa2lfk44v', 'route', '{"path":"/admin/:name(.+)?","component":"AdminLayout","title":"后台"}', 2, '2021-09-02 15:07:57.17+00', '2021-09-02 15:07:57.185+00', NULL, 'qqzzjakwkwl'),
|
|
||||||
('r_nt33b3m6ptk', 'route', '{"component":"AuthLayout"}', 3, '2021-09-02 15:07:57.19+00', '2021-09-02 15:07:57.19+00', NULL, NULL),
|
|
||||||
('r_5l9yp15wjk9', 'route', '{"path":"/login","component":"RouteSchemaRenderer","title":"登录"}', 1, '2021-09-02 15:07:57.196+00', '2021-09-02 15:07:57.252+00', 'r_nt33b3m6ptk', 'dtf9j0b8p9u'),
|
|
||||||
('r_9gqm4d8wpuw', 'route', '{"path":"/register","component":"RouteSchemaRenderer","title":"注册"}', 2, '2021-09-02 15:07:57.256+00', '2021-09-02 15:07:57.343+00', 'r_nt33b3m6ptk', '46qlxqam3xk');
|
|
@ -1,30 +0,0 @@
|
|||||||
INSERT INTO "attachments" ("id", "title", "filename", "extname", "size", "mimetype", "path", "meta", "url", "created_at", "updated_at", "created_by_id", "updated_by_id", "storage_id") VALUES
|
|
||||||
(2, 'Nocobase', 'dac1165de10a3373a87ae4e5da9788ab.png', '.png', NULL, 'image/png', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/dac1165de10a3373a87ae4e5da9788ab.png', '2021-09-04 01:33:38.878+00', '2021-09-04 01:33:38.878+00', NULL, NULL, 2),
|
|
||||||
(3, 'grapes-276070_1280', '3451976fea63a882b5fd661aa211693e.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/3451976fea63a882b5fd661aa211693e.jpg', '2021-09-04 01:34:50.388+00', '2021-09-04 01:34:50.388+00', NULL, 1, 2),
|
|
||||||
(4, 'purple-grapes-553464_1280', 'f2b7ace2b03d2808b5adddcb5f81f4e2.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/f2b7ace2b03d2808b5adddcb5f81f4e2.jpg', '2021-09-04 01:34:50.435+00', '2021-09-04 01:34:50.435+00', NULL, 1, 2),
|
|
||||||
(6, 'tomatoes-1603611_1280', '0c98117a122ed99ad78a9f2d754c6b62.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/0c98117a122ed99ad78a9f2d754c6b62.jpg', '2021-09-12 01:20:43.878+00', '2021-09-12 01:20:43.878+00', NULL, 1, 2),
|
|
||||||
(5, '合同', '1bbab8facf3e43cbfd530b362df60714.pdf', '.pdf', NULL, 'application/pdf', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/1bbab8facf3e43cbfd530b362df60714.pdf', '2021-09-12 01:20:43.869+00', '2021-09-12 01:20:43.869+00', NULL, 1, 2),
|
|
||||||
(7, '简历', 'd9f6ad6669902a9a8a1229d9f362235a.docx', '.docx', NULL, 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/d9f6ad6669902a9a8a1229d9f362235a.docx', '2021-09-12 01:22:06.229+00', '2021-09-12 01:22:06.229+00', NULL, 1, 2),
|
|
||||||
(9, 'snack-1561578_1280', 'dea2463a3e11fc0c548ef4173f0477b4.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/dea2463a3e11fc0c548ef4173f0477b4.jpg', '2021-09-12 07:41:02.59+00', '2021-09-12 07:41:02.59+00', NULL, 1, 2),
|
|
||||||
(10, 'tomatoes-447170_1280', 'f25b21c6476b2161818f9b6013438c53.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/f25b21c6476b2161818f9b6013438c53.jpg', '2021-09-12 07:41:02.628+00', '2021-09-12 07:41:02.628+00', NULL, 1, 2),
|
|
||||||
(8, 'tomatoes-1603611_1280', '3fa777ce653ee844d3c44a435d96415e.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/3fa777ce653ee844d3c44a435d96415e.jpg', '2021-09-12 07:41:02.587+00', '2021-09-12 07:41:02.587+00', NULL, 1, 2),
|
|
||||||
(12, '合同', '3345d3ffc5277c25fa4339dc889e03e0.pdf', '.pdf', NULL, 'application/pdf', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/3345d3ffc5277c25fa4339dc889e03e0.pdf', '2021-09-12 07:41:50.531+00', '2021-09-12 07:41:50.531+00', NULL, 1, 2),
|
|
||||||
(11, '简历', '9e21210c35bc0cb6e8da3a7e32ec6250.docx', '.docx', NULL, 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/9e21210c35bc0cb6e8da3a7e32ec6250.docx', '2021-09-12 07:41:50.529+00', '2021-09-12 07:41:50.529+00', NULL, 1, 2),
|
|
||||||
(15, 'collage-1572905_1280', '4edc12d2e2cb84fd50fb248f01e2153a.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/4edc12d2e2cb84fd50fb248f01e2153a.jpg', '2021-09-12 07:42:34.807+00', '2021-09-12 07:42:34.807+00', NULL, 1, 2),
|
|
||||||
(14, 'eat-1603660_1280', '8b38db60e88f280373c4e3afcbfd7929.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/8b38db60e88f280373c4e3afcbfd7929.jpg', '2021-09-12 07:42:34.8+00', '2021-09-12 07:42:34.8+00', NULL, 1, 2),
|
|
||||||
(13, 'fruit-712729_1280', 'c467a64ad4e62d4d383c4476677a9cf6.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/c467a64ad4e62d4d383c4476677a9cf6.jpg', '2021-09-12 07:42:34.776+00', '2021-09-12 07:42:34.776+00', NULL, 1, 2),
|
|
||||||
(16, 'fruit-1213041_1280', 'f7f0f982e58c84b1ff83b66fd40b8e60.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/f7f0f982e58c84b1ff83b66fd40b8e60.jpg', '2021-09-12 07:42:34.825+00', '2021-09-12 07:42:34.825+00', NULL, 1, 2),
|
|
||||||
(17, '合同', '3576f9d529a6c62e1467349b50354f51.pdf', '.pdf', NULL, 'application/pdf', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/3576f9d529a6c62e1467349b50354f51.pdf', '2021-09-12 07:43:16.925+00', '2021-09-12 07:43:16.925+00', NULL, 1, 2),
|
|
||||||
(18, 'cherry-1567876_1280', '5758c412cb32f6999627f49a82789939.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/5758c412cb32f6999627f49a82789939.jpg', '2021-09-12 07:43:51.559+00', '2021-09-12 07:43:51.559+00', NULL, 1, 2),
|
|
||||||
(19, 'collage-1572831_1280', 'e4384263693120ef0aa3f51c378f836a.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/e4384263693120ef0aa3f51c378f836a.jpg', '2021-09-12 07:43:51.57+00', '2021-09-12 07:43:51.57+00', NULL, 1, 2),
|
|
||||||
(20, 'apple-1609693_1280', 'a83da53e04eb59fac213ae2a3e636d05.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/a83da53e04eb59fac213ae2a3e636d05.jpg', '2021-09-12 07:44:27.467+00', '2021-09-12 07:44:27.467+00', NULL, 1, 2),
|
|
||||||
(22, '合同', '16d9a18d6dd0a98660f5da3e3d522ff1.pdf', '.pdf', NULL, 'application/pdf', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/16d9a18d6dd0a98660f5da3e3d522ff1.pdf', '2021-09-12 07:45:04.258+00', '2021-09-12 07:45:04.258+00', NULL, 1, 2),
|
|
||||||
(21, '简历', 'a80c83871ea5a20bcd570edc5bc2787b.docx', '.docx', NULL, 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/a80c83871ea5a20bcd570edc5bc2787b.docx', '2021-09-12 07:45:04.252+00', '2021-09-12 07:45:04.252+00', NULL, 1, 2),
|
|
||||||
(23, 'fruit-712729_1280', '3e826354cc466f12c307f775b566834f.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/3e826354cc466f12c307f775b566834f.jpg', '2021-09-12 07:45:37.26+00', '2021-09-12 07:45:37.26+00', NULL, 1, 2),
|
|
||||||
(25, 'fruit-1213041_1280', '478a8a479af1b757bcba75f20301469d.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/478a8a479af1b757bcba75f20301469d.jpg', '2021-09-12 07:45:37.284+00', '2021-09-12 07:45:37.284+00', NULL, 1, 2),
|
|
||||||
(24, 'grapes-276070_1280', 'd1a33ccf36ea01a9b705a6e779c279a1.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/d1a33ccf36ea01a9b705a6e779c279a1.jpg', '2021-09-12 07:45:37.273+00', '2021-09-12 07:45:37.273+00', NULL, 1, 2),
|
|
||||||
(27, 'grapes-276070_1280', '3349c4695e99a983ef817fe25934f080.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/3349c4695e99a983ef817fe25934f080.jpg', '2021-09-12 07:47:39.636+00', '2021-09-12 07:47:39.636+00', NULL, 1, 2),
|
|
||||||
(26, 'kaffeerad-1543158_1280', '8b94dd8cbecdbbd03e4c2fcfbd1067e7.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/8b94dd8cbecdbbd03e4c2fcfbd1067e7.jpg', '2021-09-12 07:47:39.63+00', '2021-09-12 07:47:39.63+00', NULL, 1, 2),
|
|
||||||
(28, 'apple-1609693_1280', '31b7dee511a8d6364fee18411763c188.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/31b7dee511a8d6364fee18411763c188.jpg', '2021-09-12 07:48:41.367+00', '2021-09-12 07:48:41.367+00', NULL, 1, 2),
|
|
||||||
(29, 'cappuccino-1609932_1280', '8f480c4f1bd3d292ef78fb6847669e51.jpg', '.jpg', NULL, 'image/jpeg', '', '{}', 'https://nocobase.oss-cn-beijing.aliyuncs.com/8f480c4f1bd3d292ef78fb6847669e51.jpg', '2021-09-12 07:48:41.372+00', '2021-09-12 07:48:41.372+00', NULL, 1, 2);
|
|
||||||
SELECT setval('attachments_id_seq', (SELECT MAX(id) FROM "attachments"), true);
|
|
@ -1,8 +0,0 @@
|
|||||||
INSERT INTO "t_2uhu4szs1kq" ("id", "created_at", "updated_at", "sort", "created_by_id", "updated_by_id", "f_hwenour8ara", "f_hznqtmqljb2", "f_u4i0jrp4uo6", "f_l8uuiwcnlw9") VALUES
|
|
||||||
(1, '2021-09-03 08:19:53.163+00', '2021-09-18 07:50:34.039+00', 70, 1, 1, '这是我们要做的任务这是我们要做的', '2021-09-17 00:00:00+00', 'f1g3r41rdh8', '利本毛所线表体定质花,则根物大教斯经前,飞能D发科程W目。 阶直少看员片飞飞今西取亲本就条,持层品平米今ON孤你七2。 花离定可除展通向业很,斗术真节西严特矿,导养-N群长置便。 深规马细三强低按段,事作般习就代它,完技O布D枝快。 便报动斗改克离为具影研立特,养命规么才设步局方总较共张,时什Q肃声的者起开出话。'),
|
|
||||||
(2, '2021-09-12 08:01:16.467+00', '2021-09-18 07:50:34.039+00', 71, 1, 1, '批量上传附件', '2021-09-24 00:00:00+00', 'f1g3r41rdh8', '利本毛所线表体定质花,则根物大教斯经前,飞能D发科程W目。 阶直少看员片飞飞今西取亲本就条,持层品平米今ON孤你七2。 花离定可除展通向业很,斗术真节西严特矿,导养-N群长置便。 深规马细三强低按段,事作般习就代它,完技O布D枝快。 便报动斗改克离为具影研立特,养命规么才设步局方总较共张,时什Q肃声的者起开出话。'),
|
|
||||||
(5, '2021-09-12 08:02:51.903+00', '2021-09-18 07:50:34.039+00', 69, 1, 1, '张斯些况于非按并音习又极别解切参', '2021-09-08 00:00:00+00', 'lebkfnj3d9i', '利本毛所线表体定质花,则根物大教斯经前,飞能D发科程W目。 阶直少看员片飞飞今西取亲本就条,持层品平米今ON孤你七2。 花离定可除展通向业很,斗术真节西严特矿,导养-N群长置便。 深规马细三强低按段,事作般习就代它,完技O布D枝快。 便报动斗改克离为具影研立特,养命规么才设步局方总较共张,时什Q肃声的者起开出话。'),
|
|
||||||
(4, '2021-09-12 08:02:37.852+00', '2021-09-18 07:50:34.039+00', 72, 1, 1, '包派极都火题折究条', '2021-10-08 00:00:00+00', 'zfowtv6fnel', '利本毛所线表体定质花,则根物大教斯经前,飞能D发科程W目。 阶直少看员片飞飞今西取亲本就条,持层品平米今ON孤你七2。 花离定可除展通向业很,斗术真节西严特矿,导养-N群长置便。 深规马细三强低按段,事作般习就代它,完技O布D枝快。 便报动斗改克离为具影研立特,养命规么才设步局方总较共张,时什Q肃声的者起开出话。'),
|
|
||||||
(6, '2021-09-17 01:35:18.379+00', '2021-09-18 07:50:34.039+00', 73, 1, 1, '达到顶峰五十五分', '2021-09-17 00:00:00+00', 'zfowtv6fnel', NULL),
|
|
||||||
(3, '2021-09-12 08:02:20.501+00', '2021-09-18 07:50:34.042+00', 68, 1, 1, '往你周观青整积元路公', '2021-09-24 00:00:00+00', 'lebkfnj3d9i', '利本毛所线表体定质花,则根物大教斯经前,飞能D发科程W目。 阶直少看员片飞飞今西取亲本就条,持层品平米今ON孤你七2。 花离定可除展通向业很,斗术真节西严特矿,导养-N群长置便。 深规马细三强低按段,事作般习就代它,完技O布D枝快。 便报动斗改克离为具影研立特,养命规么才设步局方总较共张,时什Q肃声的者起开出话。');
|
|
||||||
SELECT setval('t_2uhu4szs1kq_id_seq', (SELECT MAX(id) FROM "t_2uhu4szs1kq"), true);
|
|
@ -1,21 +0,0 @@
|
|||||||
INSERT INTO "t_fsveob6p269" ("id", "created_at", "updated_at", "sort", "created_by_id", "updated_by_id", "f_vgw4f62h16e", "f_3det6kr3vn8", "f_x9kmuovlm79", "f_bysgds7j36p", "f_kk4nspj1i28", "f_61znsfh307m") VALUES
|
|
||||||
(2, '2021-09-12 07:41:10.508+00', '2021-09-12 07:41:10.508+00', 2, 1, 1, '庆贝儿', '18910347327', 'khan8z430yx', '2000-02-03 00:00:00+00', '件段两声提局则着除所法军,为后出子石了期七小南领能革,表相F声化等水坑但F连。 今劳查速布你安约定值斗,运通声资区的选心认,部样7展期辅些正记。
|
|
||||||
|
|
||||||
少给学采议备料元民切,则建通加的志始资但线,些火医花史贡凝好。 易体报说着导收因派解,导亲动和人头之适,引都B按张观不适。 习想带证利识平率,不眼社且几质种,已U集杆X总。 及酸心知此劳记手,争小斗Z化传。 力例适支现流解斗,从经元行是南总,月辰走化习-。', 'plcxasw2xrs'),
|
|
||||||
(3, '2021-09-12 07:41:56.973+00', '2021-09-12 07:41:56.973+00', 3, 1, 1, '潘宏嘉', '18638372617', '59khrisonj6', '1983-08-27 00:00:00+00', 'Lorem ipsum dolor sit amet, no dolor graeco pro, te sea bonorum dolorum theophrastus. Vim ea utamur appetere molestiae, ad harum alienum indoctum ius. No quo laoreet laboramus comprehensam, eos paulo integre vivendo eu, an nam alia facilisi consetetur. Pro exerci iisque et, no amet magna iracundia vim. Vis erant consectetuer te, mei menandri liberavisse at, no latine consulatu deseruisse eos. Mel an novum nostrud scripserit, velit virtute delicata eam ad, eum ne etiam omnesque.', 'e3fb46gnarj'),
|
|
||||||
(4, '2021-09-12 07:42:41.303+00', '2021-09-12 07:42:41.303+00', 4, 1, 1, '碧鲁彦新', '13257489038', 'khan8z430yx', '2003-05-22 00:00:00+00', '厂斗志照部都越何事车前,斯队两将断极S点其会。方去即白林两团规,度关这步明管王至,但低承我质建求。 组了间族你那记的格压把,走张它然无便同儿把意,七土两叫询呜没报时。她引广书率出主且金,来万须采确部还活件,较M来霸豆板枝。政个值满物种被,共据运本很极然满,须E事眼目外。器约精机王传马,立目证权适色总,公屈过史类刺。体回每在或机发己极即,指办置们选会习十己,连难4持包厕知柜。 速还提红达知器金积外委下,况至片量派届扯过院响。', 'h5cxo6g48lj'),
|
|
||||||
(5, '2021-09-12 07:43:22.416+00', '2021-09-12 07:43:22.416+00', 5, 1, 1, '袭新平', '15673659911', '59khrisonj6', '2001-05-19 00:00:00+00', '角写现着积件果五几别,线思志济感解干事,总交录标来重它两。器参红按完通将段现强,张去克李构易。 铁年老合县始后该定报北,制和前将石四记并该道,学资建点论先打北体。 大较小商复号满以任明,青音期装所作作速,派期杨板水我办实。等人定所何那她所但,下根质状对力即光,目正-局百么片。根格土下级地育入等门适,眼使少调自用而取约,划花该三与理半音声。华包交少问毛公利书细当她每,你集者重百少蠢式箩需却。 重养人化严往主合况建', 'plcxasw2xrs'),
|
|
||||||
(8, '2021-09-12 07:45:09.415+00', '2021-09-12 07:45:09.415+00', 8, 1, 1, '礼根群', '13954209583', '59khrisonj6', '1992-07-29 00:00:00+00', '压界点小名理它车机两得,原查去证行村太孟道。求真强记织管装总论形感增委越,术市点便定肃容红个而写。代往门张照布活,期头劳量人,导8新建给。造装话和很片算只类论所,全变容时过地传达,术族刷车进变了邮盯。 在给情她积音新问整史图火验往,受王多式儿花6集听壳是呆。越县管积小与权内有红压,往你周观青整积元路公,包派极都火题折究条。张斯些况于非按并音习又极别解切参,气斗也新越几励小集及询报吧。整展研号公清文例资品会头', 'h5cxo6g48lj'),
|
|
||||||
(9, '2021-09-12 07:45:42.766+00', '2021-09-12 07:45:42.766+00', 9, 1, 1, '那涵', '18865092743', '59khrisonj6', '1994-05-25 00:00:00+00', '受界思律结周点老积,率方材论适处团认。角写现着积件果五几别,线思志济感解干事,总交录标来重它两。器参红按完通将段现强,张去克李构易。 铁年老合县始后该定报北,制和前将石四记并该道,学资建点论先打北体。 大较小商复号满以任明,青音期装所作作速,派期杨板水我办实。等人定所何那她所但,下根质状对力即光,目正-局百么片。根格土下级地育入等门适,眼使少调自用而取约,划花该三与理半音声。华包交少问毛公利书细当她每,你集者重百少蠢式箩需却。 重养人化严往主合况建,
|
|
||||||
|
|
||||||
听严素林越口热使然术,接级4因丽七北财。 务西只发系海少族实满四观,八管对利美解克始切本厂,重公材边因箩需帐候励。管但众我音才使广力例体格越,条些影区合录雪辰社不。才术北知同路作然几积做油,研权满近示技O利分矿东。斗对志质众则记际青发,小结反状等教来导法造,该书Z束询或运复。', 'plcxasw2xrs'),
|
|
||||||
(10, '2021-09-12 07:47:46.417+00', '2021-09-12 07:47:46.417+00', 10, 1, 1, '定质花', '13582034729', '59khrisonj6', '2004-04-13 00:00:00+00', '利本毛所线表体定质花,则根物大教斯经前,飞能D发科程W目。 阶直少看员片飞飞今西取亲本就条,持层品平米今ON孤你七2。 花离定可除展通向业很,斗术真节西严特矿,导养-N群长置便。 深规马细三强低按段,事作般习就代它,完技O布D枝快。 便报动斗改克离为具影研立特,养命规么才设步局方总较共张,时什Q肃声的者起开出话。', 'h5cxo6g48lj'),
|
|
||||||
(7, '2021-09-12 07:44:35.496+00', '2021-09-12 08:36:23.783+00', 7, 1, 1, '储铭', '13898276018', '59khrisonj6', '1986-06-21 00:00:00+00', '外对Q备报通那先素。 接信效住京世划京快本更难见,快京象加不入月图或用角,式速增G抖则收露动芦我。事信花白直对青系白争,受界思律结周点老积,率方材论适处团认。角写现着积件果五几别,线思志济感解干事,总交录标来重它两。器参红按完通将段现强,张去克李构易。 铁年老合县始后该定报北,制和前将石四记并该道,学资建点论先打北体。', 'e3fb46gnarj'),
|
|
||||||
(1, '2021-09-12 01:21:03.457+00', '2021-09-12 08:36:45.007+00', 1, 1, 1, '星星霖', '13498034729', '59khrisonj6', '1980-08-08 00:00:00+00', '利本毛所线表体定质花,则根物大教斯经前,飞能D发科程W目。 阶直少看员片飞飞今西取亲本就条,持层品平米今ON孤你七2。 花离定可除展通向业很,斗术真节西严特矿,导养-N群长置便。 深规马细三强低按段,事作般习就代它,完技O布D枝快。 便报动斗改克离为具影研立特,养命规么才设步局方总较共张,时什Q肃声的者起开出话。', 'z7wq1mkwmmx'),
|
|
||||||
(11, '2021-09-12 07:48:47.021+00', '2021-09-12 07:48:47.021+00', 11, 1, 1, '段两声', '18910347327', 'khan8z430yx', '2001-06-07 00:00:00+00', '件段两声提局则着除所法军,为后出子石了期七小南领能革,表相F声化等水坑但F连。 今劳查速布你安约定值斗,运通声资区的选心认,部样7展期辅些正记。
|
|
||||||
|
|
||||||
少给学采议备料元民切,则建通加的志始资但线,些火医花史贡凝好。 易体报说着导收因派解,导亲动和人头之适,引都B按张观不适。 习想带证利识平率,不眼社且几质种,已U集杆X总。 及酸心知此劳记手,争小斗Z化传。 力例适支现流解斗,从经元行是南总,月辰走化习-。', 'e3fb46gnarj'),
|
|
||||||
(6, '2021-09-12 07:43:57.617+00', '2021-09-12 08:28:50.544+00', 6, 1, 1, '宓中仕', '13527645198', 'khan8z430yx', '1999-02-26 00:00:00+00', '压界点小名理它车机两得,原查去证行村太孟道。求真强记织管装总论形感增委越,术市点便定肃容红个而写。代往门张照布活,期头劳量人,导8新建给。造装话和很片算只类论所,全变容时过地传达,术族刷车进变了邮盯。 在给情她积音新问整史图火验往,受王多式儿花6集听壳是呆。越县管积小与权内有红压,往你周观青整积元路公,包派极都火题折究条。
|
|
||||||
|
|
||||||
张斯些况于非按并音习又极别解切参,气斗也新越几励小集及询报吧。整展研号公清文例资品会头,厂斗志照部都越何事车前,斯队两将断极S点其会。方去即白林两团规,度关这步明管王至,但低承我质建求。 组了间族你那记的格压把,走张它然无便同儿把意,七土两叫询呜没报时。她引广书率出主且金,来万须采确部还活件,较M来霸豆板枝。政个值满物种被,共据运本很极然满,须E事眼目外。器约精机王传马,立目证权适色总,公屈过史类刺。体回每在或机发己极即,指办置们选会习十己,连难4持包厕知柜。 速还提红达知器金积外委下', 'z7wq1mkwmmx');
|
|
||||||
SELECT setval('t_fsveob6p269_id_seq', (SELECT MAX(id) FROM "t_fsveob6p269"), true);
|
|
@ -1,18 +0,0 @@
|
|||||||
INSERT INTO "t_geso7fru7a9" ("id", "created_at", "updated_at", "sort", "created_by_id", "updated_by_id", "f_umjewufbyhj", "f_nlgk67tpdql", "f_niymyj0no38") VALUES
|
|
||||||
(1, '2021-09-12 01:24:52.21+00', '2021-09-12 07:38:07.64+00', 1, 1, 1, '2021-09-10 11:26:28+00', 'x4qnavatfai', '751834123525'),
|
|
||||||
(2, '2021-09-12 07:36:07.647+00', '2021-09-12 07:38:15.812+00', 2, 1, 1, '2021-09-24 15:41:03+00', 'i2xjqmnwrsu', '751834123526'),
|
|
||||||
(3, '2021-09-14 02:02:47.091+00', '2021-09-14 02:02:47.091+00', 3, 1, 1, '2021-09-25 10:02:32+00', 'tqgda8p724l', '751834123527'),
|
|
||||||
(4, '2021-09-14 02:03:09.21+00', '2021-09-14 02:03:09.21+00', 4, 1, 1, '2021-09-08 15:03:01+00', 'i2xjqmnwrsu', '751834123528'),
|
|
||||||
(5, '2021-09-14 02:03:24.272+00', '2021-09-14 02:03:24.272+00', 5, 1, 1, '2021-09-08 10:03:17+00', 'i2xjqmnwrsu', '751834123529'),
|
|
||||||
(6, '2021-09-14 02:03:43.832+00', '2021-09-14 02:03:43.832+00', 6, 1, 1, '2021-09-23 10:03:36+00', 'x4qnavatfai', '751834123530'),
|
|
||||||
(7, '2021-09-14 02:03:58.744+00', '2021-09-14 02:03:58.744+00', 7, 1, 1, '2021-09-08 10:03:51+00', 'x4qnavatfai', '751834123531'),
|
|
||||||
(8, '2021-09-14 02:04:16.289+00', '2021-09-14 02:04:16.289+00', 8, 1, 1, '2021-09-02 10:04:07+00', 'tqgda8p724l', '751834123532'),
|
|
||||||
(9, '2021-09-14 02:04:35.679+00', '2021-09-14 02:04:35.679+00', 9, 1, 1, '2021-09-09 10:04:25+00', 'x4qnavatfai', '751834123533'),
|
|
||||||
(10, '2021-09-14 02:04:51.641+00', '2021-09-14 02:04:51.641+00', 10, 1, 1, '2021-09-02 10:04:44+00', 'tqgda8p724l', '751834123534'),
|
|
||||||
(11, '2021-09-14 02:05:13.807+00', '2021-09-14 02:05:13.807+00', 11, 1, 1, '2021-08-05 10:05:01+00', 'x4qnavatfai', '751834123534'),
|
|
||||||
(12, '2021-09-14 02:05:34.724+00', '2021-09-14 02:05:34.724+00', 12, 1, 1, '2021-09-12 10:05:26+00', 'tqgda8p724l', '751834123535'),
|
|
||||||
(13, '2021-09-14 02:05:52.789+00', '2021-09-14 02:05:52.789+00', 13, 1, 1, '2021-09-26 10:05:42+00', 'tqgda8p724l', '751834123536'),
|
|
||||||
(14, '2021-09-14 02:06:10.875+00', '2021-09-14 02:06:10.875+00', 14, 1, 1, '2021-09-07 10:06:06+00', 'x4qnavatfai', '751834123537'),
|
|
||||||
(15, '2021-09-14 02:06:29.102+00', '2021-09-14 02:06:29.102+00', 15, 1, 1, '2021-09-25 10:06:18+00', 'x4qnavatfai', '751834123538'),
|
|
||||||
(16, '2021-09-14 02:06:45.054+00', '2021-09-14 02:06:45.054+00', 16, 1, 1, '2021-09-09 10:06:41+00', 'i2xjqmnwrsu', '751834123539');
|
|
||||||
SELECT setval('t_geso7fru7a9_id_seq', (SELECT MAX(id) FROM "t_geso7fru7a9"), true);
|
|
@ -1,17 +0,0 @@
|
|||||||
INSERT INTO "t_bphcojtl8bx" ("created_at", "updated_at", "f_cn6a3p0wq2p", "f_4x6u1waa8r6") VALUES
|
|
||||||
('2021-09-12 01:24:52.263+00', '2021-09-12 01:24:52.263+00', 1, 1),
|
|
||||||
('2021-09-12 07:36:07.681+00', '2021-09-12 07:36:07.681+00', 1, 2),
|
|
||||||
('2021-09-14 02:02:47.134+00', '2021-09-14 02:02:47.134+00', 2, 3),
|
|
||||||
('2021-09-14 02:03:09.241+00', '2021-09-14 02:03:09.241+00', 3, 4),
|
|
||||||
('2021-09-14 02:03:24.316+00', '2021-09-14 02:03:24.316+00', 4, 5),
|
|
||||||
('2021-09-14 02:03:43.87+00', '2021-09-14 02:03:43.87+00', 5, 6),
|
|
||||||
('2021-09-14 02:03:58.767+00', '2021-09-14 02:03:58.767+00', 8, 7),
|
|
||||||
('2021-09-14 02:04:16.32+00', '2021-09-14 02:04:16.32+00', 9, 8),
|
|
||||||
('2021-09-14 02:04:35.709+00', '2021-09-14 02:04:35.709+00', 10, 9),
|
|
||||||
('2021-09-14 02:04:51.667+00', '2021-09-14 02:04:51.667+00', 7, 10),
|
|
||||||
('2021-09-14 02:05:13.838+00', '2021-09-14 02:05:13.838+00', 1, 11),
|
|
||||||
('2021-09-14 02:05:34.758+00', '2021-09-14 02:05:34.758+00', 11, 12),
|
|
||||||
('2021-09-14 02:05:52.817+00', '2021-09-14 02:05:52.817+00', 6, 13),
|
|
||||||
('2021-09-14 02:06:10.916+00', '2021-09-14 02:06:10.916+00', 2, 14),
|
|
||||||
('2021-09-14 02:06:29.136+00', '2021-09-14 02:06:29.136+00', 3, 15),
|
|
||||||
('2021-09-14 02:06:45.093+00', '2021-09-14 02:06:45.093+00', 11, 16);
|
|
@ -1,26 +0,0 @@
|
|||||||
INSERT INTO "t_jh7a28dsfzi" ("created_at", "updated_at", "f_xg3mysbjfra", "f_gc7ppj0b7n1") VALUES
|
|
||||||
('2021-09-12 01:21:03.65+00', '2021-09-12 01:21:03.65+00', 1, 6),
|
|
||||||
('2021-09-12 01:21:03.65+00', '2021-09-12 01:21:03.65+00', 1, 5),
|
|
||||||
('2021-09-12 01:22:07.886+00', '2021-09-12 01:22:07.886+00', 1, 7),
|
|
||||||
('2021-09-12 07:41:10.563+00', '2021-09-12 07:41:10.563+00', 2, 9),
|
|
||||||
('2021-09-12 07:41:10.563+00', '2021-09-12 07:41:10.563+00', 2, 10),
|
|
||||||
('2021-09-12 07:41:10.563+00', '2021-09-12 07:41:10.563+00', 2, 8),
|
|
||||||
('2021-09-12 07:41:57.025+00', '2021-09-12 07:41:57.025+00', 3, 12),
|
|
||||||
('2021-09-12 07:41:57.025+00', '2021-09-12 07:41:57.025+00', 3, 11),
|
|
||||||
('2021-09-12 07:42:41.36+00', '2021-09-12 07:42:41.36+00', 4, 15),
|
|
||||||
('2021-09-12 07:42:41.36+00', '2021-09-12 07:42:41.36+00', 4, 14),
|
|
||||||
('2021-09-12 07:42:41.36+00', '2021-09-12 07:42:41.36+00', 4, 13),
|
|
||||||
('2021-09-12 07:42:41.36+00', '2021-09-12 07:42:41.36+00', 4, 16),
|
|
||||||
('2021-09-12 07:43:22.467+00', '2021-09-12 07:43:22.467+00', 5, 17),
|
|
||||||
('2021-09-12 07:43:57.67+00', '2021-09-12 07:43:57.67+00', 6, 18),
|
|
||||||
('2021-09-12 07:43:57.67+00', '2021-09-12 07:43:57.67+00', 6, 19),
|
|
||||||
('2021-09-12 07:44:35.538+00', '2021-09-12 07:44:35.538+00', 7, 20),
|
|
||||||
('2021-09-12 07:45:09.463+00', '2021-09-12 07:45:09.463+00', 8, 22),
|
|
||||||
('2021-09-12 07:45:09.463+00', '2021-09-12 07:45:09.463+00', 8, 21),
|
|
||||||
('2021-09-12 07:45:42.818+00', '2021-09-12 07:45:42.818+00', 9, 23),
|
|
||||||
('2021-09-12 07:45:42.818+00', '2021-09-12 07:45:42.818+00', 9, 25),
|
|
||||||
('2021-09-12 07:45:42.818+00', '2021-09-12 07:45:42.818+00', 9, 24),
|
|
||||||
('2021-09-12 07:47:46.476+00', '2021-09-12 07:47:46.476+00', 10, 27),
|
|
||||||
('2021-09-12 07:47:46.476+00', '2021-09-12 07:47:46.476+00', 10, 26),
|
|
||||||
('2021-09-12 07:48:47.077+00', '2021-09-12 07:48:47.077+00', 11, 28),
|
|
||||||
('2021-09-12 07:48:47.077+00', '2021-09-12 07:48:47.077+00', 11, 29);
|
|
@ -1,34 +0,0 @@
|
|||||||
INSERT INTO "t_p13gbi31uux" ("created_at", "updated_at", "f_86s65mbw93e", "f_hwx3hgg5b5t") VALUES
|
|
||||||
('2021-09-12 01:21:03.666+00', '2021-09-12 01:21:03.666+00', 1, '11'),
|
|
||||||
('2021-09-12 01:21:03.666+00', '2021-09-12 01:21:03.666+00', 1, '1101'),
|
|
||||||
('2021-09-12 01:21:03.666+00', '2021-09-12 01:21:03.666+00', 1, '110105'),
|
|
||||||
('2021-09-12 07:41:10.582+00', '2021-09-12 07:41:10.582+00', 2, '14'),
|
|
||||||
('2021-09-12 07:41:10.582+00', '2021-09-12 07:41:10.582+00', 2, '1401'),
|
|
||||||
('2021-09-12 07:41:10.582+00', '2021-09-12 07:41:10.582+00', 2, '140105'),
|
|
||||||
('2021-09-12 07:41:57.038+00', '2021-09-12 07:41:57.038+00', 3, '15'),
|
|
||||||
('2021-09-12 07:41:57.038+00', '2021-09-12 07:41:57.038+00', 3, '1502'),
|
|
||||||
('2021-09-12 07:41:57.038+00', '2021-09-12 07:41:57.038+00', 3, '150203'),
|
|
||||||
('2021-09-12 07:42:41.372+00', '2021-09-12 07:42:41.372+00', 4, '21'),
|
|
||||||
('2021-09-12 07:42:41.372+00', '2021-09-12 07:42:41.372+00', 4, '2102'),
|
|
||||||
('2021-09-12 07:42:41.372+00', '2021-09-12 07:42:41.372+00', 4, '210203'),
|
|
||||||
('2021-09-12 07:43:22.481+00', '2021-09-12 07:43:22.481+00', 5, '31'),
|
|
||||||
('2021-09-12 07:43:22.481+00', '2021-09-12 07:43:22.481+00', 5, '3101'),
|
|
||||||
('2021-09-12 07:43:22.481+00', '2021-09-12 07:43:22.481+00', 5, '310105'),
|
|
||||||
('2021-09-12 07:43:57.686+00', '2021-09-12 07:43:57.686+00', 6, '32'),
|
|
||||||
('2021-09-12 07:43:57.686+00', '2021-09-12 07:43:57.686+00', 6, '3203'),
|
|
||||||
('2021-09-12 07:43:57.686+00', '2021-09-12 07:43:57.686+00', 6, '320303'),
|
|
||||||
('2021-09-12 07:44:35.552+00', '2021-09-12 07:44:35.552+00', 7, '33'),
|
|
||||||
('2021-09-12 07:44:35.552+00', '2021-09-12 07:44:35.552+00', 7, '3302'),
|
|
||||||
('2021-09-12 07:44:35.552+00', '2021-09-12 07:44:35.552+00', 7, '330205'),
|
|
||||||
('2021-09-12 07:45:09.477+00', '2021-09-12 07:45:09.477+00', 8, '34'),
|
|
||||||
('2021-09-12 07:45:09.477+00', '2021-09-12 07:45:09.477+00', 8, '3402'),
|
|
||||||
('2021-09-12 07:45:09.477+00', '2021-09-12 07:45:09.477+00', 8, '340202'),
|
|
||||||
('2021-09-12 07:45:42.83+00', '2021-09-12 07:45:42.83+00', 9, '35'),
|
|
||||||
('2021-09-12 07:45:42.83+00', '2021-09-12 07:45:42.83+00', 9, '3503'),
|
|
||||||
('2021-09-12 07:45:42.83+00', '2021-09-12 07:45:42.83+00', 9, '350303'),
|
|
||||||
('2021-09-12 07:47:46.491+00', '2021-09-12 07:47:46.491+00', 10, '36'),
|
|
||||||
('2021-09-12 07:47:46.491+00', '2021-09-12 07:47:46.491+00', 10, '3602'),
|
|
||||||
('2021-09-12 07:47:46.491+00', '2021-09-12 07:47:46.491+00', 10, '360202'),
|
|
||||||
('2021-09-12 07:48:47.088+00', '2021-09-12 07:48:47.088+00', 11, '37'),
|
|
||||||
('2021-09-12 07:48:47.088+00', '2021-09-12 07:48:47.088+00', 11, '3703'),
|
|
||||||
('2021-09-12 07:48:47.088+00', '2021-09-12 07:48:47.088+00', 11, '370303');
|
|
@ -1,3 +0,0 @@
|
|||||||
INSERT INTO "roles" ("name", "title", "sort", "created_at", "updated_at", "created_by_id", "updated_by_id") VALUES
|
|
||||||
('r_tfs4qtaxjcs', '管理员', 1, '2021-09-14 02:12:19.98+00', '2021-09-14 02:12:19.98+00', 1, 1),
|
|
||||||
('r_np59b00ex8z', '普通成员', 2, '2021-09-14 02:12:35.799+00', '2021-09-14 02:12:35.799+00', 1, 1);
|
|
@ -1,18 +0,0 @@
|
|||||||
INSERT INTO "action_permissions" ("id", "action_name", "created_at", "updated_at", "collection_name", "user_id", "created_by_id", "updated_by_id", "role_name", "scope_id") VALUES
|
|
||||||
(1, 'create', '2021-09-14 02:19:38.019+00', '2021-09-14 02:19:45.64+00', 't_geso7fru7a9', NULL, 1, 1, NULL, NULL),
|
|
||||||
(2, 'get', '2021-09-14 02:19:38.04+00', '2021-09-14 02:19:45.64+00', 't_geso7fru7a9', NULL, 1, 1, NULL, NULL),
|
|
||||||
(3, 'update', '2021-09-14 02:19:38.053+00', '2021-09-14 02:19:45.64+00', 't_geso7fru7a9', NULL, 1, 1, NULL, NULL),
|
|
||||||
(4, 'destroy', '2021-09-14 02:19:38.067+00', '2021-09-14 02:19:45.64+00', 't_geso7fru7a9', NULL, 1, 1, NULL, NULL),
|
|
||||||
(5, 'create', '2021-09-14 02:19:45.601+00', '2021-09-14 02:19:53.3+00', 't_2uhu4szs1kq', NULL, 1, 1, NULL, NULL),
|
|
||||||
(6, 'get', '2021-09-14 02:19:45.616+00', '2021-09-14 02:19:53.3+00', 't_2uhu4szs1kq', NULL, 1, 1, NULL, NULL),
|
|
||||||
(7, 'update', '2021-09-14 02:19:45.625+00', '2021-09-14 02:19:53.3+00', 't_2uhu4szs1kq', NULL, 1, 1, NULL, NULL),
|
|
||||||
(8, 'destroy', '2021-09-14 02:19:45.633+00', '2021-09-14 02:19:53.3+00', 't_2uhu4szs1kq', NULL, 1, 1, NULL, NULL),
|
|
||||||
(13, 'create', '2021-09-14 02:20:00.337+00', '2021-09-14 02:20:00.337+00', 'users', NULL, 1, 1, 'r_tfs4qtaxjcs', NULL),
|
|
||||||
(14, 'get', '2021-09-14 02:20:00.347+00', '2021-09-14 02:20:00.347+00', 'users', NULL, 1, 1, 'r_tfs4qtaxjcs', NULL),
|
|
||||||
(15, 'update', '2021-09-14 02:20:00.356+00', '2021-09-14 02:20:00.356+00', 'users', NULL, 1, 1, 'r_tfs4qtaxjcs', NULL),
|
|
||||||
(16, 'destroy', '2021-09-14 02:20:00.364+00', '2021-09-14 02:20:00.364+00', 'users', NULL, 1, 1, 'r_tfs4qtaxjcs', NULL),
|
|
||||||
(9, 'create', '2021-09-14 02:19:53.259+00', '2021-09-14 02:20:00.371+00', 't_fsveob6p269', NULL, 1, 1, NULL, NULL),
|
|
||||||
(10, 'get', '2021-09-14 02:19:53.274+00', '2021-09-14 02:20:00.371+00', 't_fsveob6p269', NULL, 1, 1, NULL, NULL),
|
|
||||||
(11, 'update', '2021-09-14 02:19:53.284+00', '2021-09-14 02:20:00.371+00', 't_fsveob6p269', NULL, 1, 1, NULL, NULL),
|
|
||||||
(12, 'destroy', '2021-09-14 02:19:53.294+00', '2021-09-14 02:20:00.371+00', 't_fsveob6p269', NULL, 1, 1, NULL, NULL);
|
|
||||||
SELECT setval('action_permissions_id_seq', (SELECT MAX(id) FROM "action_permissions"), true);
|
|
@ -1,100 +0,0 @@
|
|||||||
INSERT INTO "field_permissions" ("created_at", "updated_at", "action_permission_id", "field_key") VALUES
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, 'nv0iw8wdxmz'),
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, 'lu1ibrb0yi2'),
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, 'qpme60wf4lt'),
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, 'fp2hcdcmxzm'),
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, '0qx4mudmft8'),
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, '19r6wt5b4m3'),
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, 'nb09uq85geu'),
|
|
||||||
('2021-09-14 02:19:38.034+00', '2021-09-14 02:19:38.034+00', 1, 'ckyhgqq0jru'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, 'nv0iw8wdxmz'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, 'lu1ibrb0yi2'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, 'qpme60wf4lt'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, 'fp2hcdcmxzm'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, '0qx4mudmft8'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, '19r6wt5b4m3'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, 'nb09uq85geu'),
|
|
||||||
('2021-09-14 02:19:38.048+00', '2021-09-14 02:19:38.048+00', 2, 'ckyhgqq0jru'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, 'nv0iw8wdxmz'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, 'lu1ibrb0yi2'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, 'qpme60wf4lt'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, 'fp2hcdcmxzm'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, '0qx4mudmft8'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, '19r6wt5b4m3'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, 'nb09uq85geu'),
|
|
||||||
('2021-09-14 02:19:38.062+00', '2021-09-14 02:19:38.062+00', 3, 'ckyhgqq0jru'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, '8ms3ivkxaku'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, 'sj5p2y4ac06'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, '78h1q25dt1h'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, '1fvb1qre4ut'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, 's30o2rkxcht'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, 'e76mvcf7a1r'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, 'c385a9rhd6d'),
|
|
||||||
('2021-09-14 02:19:45.611+00', '2021-09-14 02:19:45.611+00', 5, 'aun85p76s0v'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, '8ms3ivkxaku'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, 'sj5p2y4ac06'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, '78h1q25dt1h'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, '1fvb1qre4ut'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, 's30o2rkxcht'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, 'e76mvcf7a1r'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, 'c385a9rhd6d'),
|
|
||||||
('2021-09-14 02:19:45.622+00', '2021-09-14 02:19:45.622+00', 6, 'aun85p76s0v'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, '8ms3ivkxaku'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, 'sj5p2y4ac06'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, '78h1q25dt1h'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, '1fvb1qre4ut'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, 's30o2rkxcht'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, 'e76mvcf7a1r'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, 'c385a9rhd6d'),
|
|
||||||
('2021-09-14 02:19:45.631+00', '2021-09-14 02:19:45.631+00', 7, 'aun85p76s0v'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'mqcm1jb1ziw'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, '2abol7bhbmj'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'bz701wfev96'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'ymwwuuje5cf'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'f_c8mes0kp1zt'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'mnglxpxjqs4'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'kru7yomwffj'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'hfry2ook2w4'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'xjnnqtckv6o'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'lie1tta3peq'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'zobi3o3dqzp'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, 'gjc3mks1xvj'),
|
|
||||||
('2021-09-14 02:19:53.27+00', '2021-09-14 02:19:53.27+00', 9, '9cpd377df7t'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'mqcm1jb1ziw'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, '2abol7bhbmj'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'bz701wfev96'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'ymwwuuje5cf'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'f_c8mes0kp1zt'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'mnglxpxjqs4'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'kru7yomwffj'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'hfry2ook2w4'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'xjnnqtckv6o'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'lie1tta3peq'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'zobi3o3dqzp'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, 'gjc3mks1xvj'),
|
|
||||||
('2021-09-14 02:19:53.28+00', '2021-09-14 02:19:53.28+00', 10, '9cpd377df7t'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'mqcm1jb1ziw'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, '2abol7bhbmj'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'bz701wfev96'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'ymwwuuje5cf'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'f_c8mes0kp1zt'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'mnglxpxjqs4'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'kru7yomwffj'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'hfry2ook2w4'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'xjnnqtckv6o'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'lie1tta3peq'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'zobi3o3dqzp'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, 'gjc3mks1xvj'),
|
|
||||||
('2021-09-14 02:19:53.291+00', '2021-09-14 02:19:53.291+00', 11, '9cpd377df7t'),
|
|
||||||
('2021-09-14 02:20:00.344+00', '2021-09-14 02:20:00.344+00', 13, 'f_6rhh0scyw9k'),
|
|
||||||
('2021-09-14 02:20:00.344+00', '2021-09-14 02:20:00.344+00', 13, 'f_80zv5suy9t6'),
|
|
||||||
('2021-09-14 02:20:00.344+00', '2021-09-14 02:20:00.344+00', 13, 'f_j367murpzm9'),
|
|
||||||
('2021-09-14 02:20:00.344+00', '2021-09-14 02:20:00.344+00', 13, '6rm0lspbpeh'),
|
|
||||||
('2021-09-14 02:20:00.353+00', '2021-09-14 02:20:00.353+00', 14, 'f_6rhh0scyw9k'),
|
|
||||||
('2021-09-14 02:20:00.353+00', '2021-09-14 02:20:00.353+00', 14, 'f_80zv5suy9t6'),
|
|
||||||
('2021-09-14 02:20:00.353+00', '2021-09-14 02:20:00.353+00', 14, 'f_j367murpzm9'),
|
|
||||||
('2021-09-14 02:20:00.353+00', '2021-09-14 02:20:00.353+00', 14, '6rm0lspbpeh'),
|
|
||||||
('2021-09-14 02:20:00.361+00', '2021-09-14 02:20:00.361+00', 15, 'f_6rhh0scyw9k'),
|
|
||||||
('2021-09-14 02:20:00.361+00', '2021-09-14 02:20:00.361+00', 15, 'f_80zv5suy9t6'),
|
|
||||||
('2021-09-14 02:20:00.361+00', '2021-09-14 02:20:00.361+00', 15, 'f_j367murpzm9'),
|
|
||||||
('2021-09-14 02:20:00.361+00', '2021-09-14 02:20:00.361+00', 15, '6rm0lspbpeh');
|
|
@ -1,51 +0,0 @@
|
|||||||
INSERT INTO "roles_ui_schemas" ("created_at", "updated_at", "ui_schema_key", "role_name") VALUES
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '0b73gccskc2', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'hall72478p5', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'im4un32remd', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'wfa10dg0vyl', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'k33sn747t75', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '6chv7wh9gy9', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'h41g5aiikz1', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '66g7jbpqsen', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'on7wtx4zj4i', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '2fmrebsf4gp', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'p5e092zc0ot', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '2eacz1979l5', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'ouuvop86xkn', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '6zdy7upftb2', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'h3irsnu3clo', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '2891oprcahh', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'tqpxc3hilti', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'kme85fmbfdp', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '75uiuzj3a2y', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'o6vjinhjhad', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'knyew80qe7m', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'gd7t6lt75n9', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', '1i8da3k889z', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:19:13.669+00', '2021-09-14 02:19:13.669+00', 'mqr5sytnrex', 'r_tfs4qtaxjcs'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'im4un32remd', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'wfa10dg0vyl', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'k33sn747t75', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '6chv7wh9gy9', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'h41g5aiikz1', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '66g7jbpqsen', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'on7wtx4zj4i', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '2fmrebsf4gp', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'p5e092zc0ot', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '2eacz1979l5', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'ouuvop86xkn', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '6zdy7upftb2', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'h3irsnu3clo', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '2891oprcahh', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'tqpxc3hilti', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'kme85fmbfdp', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '75uiuzj3a2y', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'o6vjinhjhad', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'knyew80qe7m', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '43f9otxtq42', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'dhye1xbbr3n', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', '1i8da3k889z', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:20:09.49+00', '2021-09-14 02:20:09.49+00', 'mqr5sytnrex', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:22:46.7+00', '2021-09-14 02:22:46.7+00', '0b73gccskc2', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:22:53.939+00', '2021-09-14 02:22:53.939+00', 'hall72478p5', 'r_np59b00ex8z'),
|
|
||||||
('2021-09-14 02:26:04.313+00', '2021-09-14 02:26:04.313+00', 'gd7t6lt75n9', 'r_np59b00ex8z');
|
|
@ -1,26 +1,7 @@
|
|||||||
import { Application, PluginOptions } from '@nocobase/server';
|
import { Application, PluginOptions } from '@nocobase/server';
|
||||||
import Koa from 'koa';
|
import Koa from 'koa';
|
||||||
import { Model } from '@nocobase/database';
|
import { Model } from '@nocobase/database';
|
||||||
import { readFileSync } from 'fs';
|
|
||||||
import glob from 'glob';
|
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import compose from 'koa-compose';
|
|
||||||
|
|
||||||
function getInitSqls() {
|
|
||||||
const part1 = [];
|
|
||||||
const part2 = [];
|
|
||||||
const files1 = glob.sync(path.resolve(__dirname, './db/part1/*.sql'));
|
|
||||||
for (const file of files1) {
|
|
||||||
const sql = readFileSync(file).toString();
|
|
||||||
part1.push(sql);
|
|
||||||
}
|
|
||||||
const files2 = glob.sync(path.resolve(__dirname, './db/part2/*.sql'));
|
|
||||||
for (const file of files2) {
|
|
||||||
const sql = readFileSync(file).toString();
|
|
||||||
part2.push(sql);
|
|
||||||
}
|
|
||||||
return { part1, part2 };
|
|
||||||
}
|
|
||||||
|
|
||||||
function createApp(opts) {
|
function createApp(opts) {
|
||||||
const { name } = opts;
|
const { name } = opts;
|
||||||
@ -225,29 +206,6 @@ export default {
|
|||||||
});
|
});
|
||||||
await app.emitAsync('beforeStart');
|
await app.emitAsync('beforeStart');
|
||||||
await app.emitAsync('db.init');
|
await app.emitAsync('db.init');
|
||||||
const transaction = await app.db.sequelize.transaction();
|
|
||||||
const sqls = getInitSqls();
|
|
||||||
try {
|
|
||||||
for (const sql of sqls.part1) {
|
|
||||||
await app.db.sequelize.query(sql, { transaction });
|
|
||||||
}
|
|
||||||
await transaction.commit();
|
|
||||||
} catch (error) {
|
|
||||||
await transaction.rollback();
|
|
||||||
}
|
|
||||||
await app.db.getModel('collections').load({
|
|
||||||
skipExisting: true,
|
|
||||||
});
|
|
||||||
await app.db.sync();
|
|
||||||
const transaction2 = await app.db.sequelize.transaction();
|
|
||||||
try {
|
|
||||||
for (const sql of sqls.part2) {
|
|
||||||
await app.db.sequelize.query(sql, { transaction: transaction2 });
|
|
||||||
}
|
|
||||||
await transaction2.commit();
|
|
||||||
} catch (error) {
|
|
||||||
await transaction2.rollback();
|
|
||||||
}
|
|
||||||
this.app['apps'].set(name, app);
|
this.app['apps'].set(name, app);
|
||||||
model.set('status', 'running');
|
model.set('status', 'running');
|
||||||
await model.save({ hooks: false });
|
await model.save({ hooks: false });
|
||||||
|
Loading…
Reference in New Issue
Block a user