ChengLei Shao
9f5f2d6028
feat: reference check ( #989 )
...
* chore: test
* chore: test
* chore: test code
* feat: on delete restrict
* feat: on delete cascade
* feat: on delete set null
* feat: reference unbind
* fix: test
* fix: acl test
* fix: test on Windows
* fix: database recreate
* fix: application reload
* fix: multi-app-manager test
* fix: test
* feat: ondelete
* fix: hasOne field onDelete
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-31 22:45:39 +08:00
Junyi
4247c1b255
Doc: api database events ( #887 )
...
* docs: add full sequelize model event types
* feat: update docs
* fix: types
* fix: update docs
* docs: refactor db event apis
* docs: add all events to db api
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-10-14 17:22:32 +08:00
ChengLei Shao
eaea8a7100
feat: limit database identifier ( #908 )
2022-10-14 15:02:41 +08:00
chenos
933c3f4463
fix(database): fix the index name too long error
...
(cherry picked from commit 7bfe6b8c46bef0183c4703683175561c7fc91aee)
2022-10-13 12:36:55 +08:00
Junyi
b92f3b3b95
refactor(database): fix some fields and types ( #820 )
...
* refactor(database): fix some fields and types
* fix(database): fix operator ne to null
2022-09-11 21:58:49 +08:00
Junyi
a1dc139cf4
feat(plugin-cm): add unique option for base fields ( #745 )
...
* feat(plugin-cm): add unique option for base fields
* refactor(plugin-cm): make sure unique constraint sync with field option
* fix(plugin-cm): fix sqlite unique field sync
* fix(plugin-cm): fix unique constraint sync logic
* refactor(plugin-cm): remove unique property for select components
* fix: previous
* fix: test error
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-08-20 23:23:13 +08:00
chenos
70ab4dcf1f
fix(database): index invalid ( #564 )
...
* fix(database): index invalid
* fix: test error
2022-07-01 09:33:05 +08:00
chenos
72e3f15306
fix: remove collections & fields from db ( #511 )
...
* fix: remove collections & fields from db
* fix: cannot read property 'removeFromDb' of undefined
* test: add test cases
* test: add test cases
* fix: exclude non-deletable fields
2022-06-18 00:18:12 +08:00
chenos
a92a78cc9e
fix: rollback when field creation fails ( #498 )
...
* fix: rollback when field creation fails
* fix: missing transaction
2022-06-11 20:46:30 +08:00
chenos
75c990adce
fix: afterSync hook not triggered ( #450 )
2022-06-01 21:37:48 +08:00
ChengLei Shao
a37609e71b
fix: through table primaryKey error ( #297 )
...
* fix: through table primaryKey error
* chore: sort fields
* chore: test release
* chore: github action sqlite env
2022-04-19 16:35:44 +08:00
ChengLei Shao
24ea83f0ff
Feat/create nocobase app ( #273 )
...
* create-nocobase-app template from [develop]
* change create-nocobase-app package.json config
* feat: load configuration from directory
* feat: configuration repository toObject
* feat: create application from configuration dir
* feat: application factory with plugins options
* export type
* feat: read application config & application with plugins options
* feat: release command
* fix: database release
* chore: workflow package.json
* feat: nocobase cli package
* feat: console command
* chore: load application in command
* fix: load packages from process.cwd
* feat: cli load env file
* feat: create-nocobase-app
* fix: gitignore create-nocobase-app lib
* fix: sqlite path
* feat: create plugin
* chore: plugin files template
* chore: move cli into application
* chore: create-nocobase-app
* fix: create plugin
* chore: app-client && app-server
* chore: package.json
* feat: create-nocobase-app download template from npm
* chore: create-nocobase-app template
* fix: config of plugin-users
* fix: yarn.lock
* fix: database build error
* fix: yarn.lock
* fix: resourcer config
* chore: cross-env
* chore: app-client dependents
* fix: env
* chore: v0.6.0-alpha.1
* chore: verdaccio
* chore(versions): 😊 publish v0.6.0
* chore(versions): 😊 publish v0.6.1-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.0
* chore(versions): 😊 publish v0.6.2-alpha.1
* chore: 0.6.2-alpha.2
* feat: workspaces
* chore(versions): 😊 publish v0.6.2-alpha.3
* chore(versions): 😊 publish v0.6.2-alpha.4
* chore: create-nocobase-app
* chore: create-nocobase-app lib
* fix: update tsconfig.jest.json
* chore: .env
* chore(versions): 😊 publish v0.6.2-alpha.5
* chore(versions): 😊 publish v0.6.2-alpha.6
* feat: improve code
* chore(versions): 😊 publish v0.6.2-alpha.7
* fix: cleanup
* chore(versions): 😊 publish v0.6.2-alpha.8
* chore: tsconfig for app server package
* fix: move files
* fix: move files
Co-authored-by: chenos <chenlinxh@gmail.com>
2022-04-17 10:00:42 +08:00