Weiko
f8a887e33e
Add is system flag to object metadata ( #2481 )
...
* Add isSystem flag to objectMetadata
* squash migrations and add dataSource->objects FK
* fix missing datasource enum type
2023-11-13 17:09:26 +01:00
Weiko
04c618284f
Convert metadata tables to camel_case ( #2420 )
...
* Convert metadata tables to camelcase
* refactor folder structure
* rename datasourcemetadata
* regenerate metadata schema
* rename dataSourceMetadata to dataSource
2023-11-10 15:33:25 +01:00
Charles Bochet
7b9175a4a4
Revert "Convert metadata tables to camelCase" ( #2419 )
...
Revert "Convert metadata tables to camelCase (#2400 )"
This reverts commit 1cf08c797f .
2023-11-10 11:48:44 +01:00
Weiko
1cf08c797f
Convert metadata tables to camelCase ( #2400 )
...
* Convert metadata tables to camelCase
* datasourcemetadataid to datasourceid
* refactor metadata folders
* fix command
* move commands out of metadata
* fix seed
* rename objectId and fieldId in objectMetadataId and fieldMetadataId in FE
* fix field-metadata
* Fix
* Fix
* remove logs
---------
Co-authored-by: Charles Bochet <charles@twenty.com >
2023-11-09 20:06:10 +01:00
martmull
fe20be8487
0.2.0 cleaning script ( #2403 )
...
* Update cleaning script to run on old schema
* Add boundaries parameter
* Stop requesting data for each workspace/table
* Stop checking same as seed if not requested
* Minor update
* Minor update
* Minor update
* Minor update
* Minor update
* Simplify result
* Simplify result
* Simplify result
* Delete updates
* Fix issues
* Update logs
* Remove throw when schema does not exist
* Remove missing table in old schema
* Remove boundaries parameter
* Remove useless trycatch
2023-11-09 12:18:09 +01:00
martmull
0ae56b055c
Clean metadata and schema ( #2382 )
2023-11-07 12:33:54 +01:00
Weiko
b56f6f3947
Fix seeds for local workspace and newly created workspaces ( #2333 )
...
* Update metadata/data seeds
* fix
* fix
* move seeding into a transaction
* add no-non-null-assertion
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-11-03 14:33:45 +01:00
Weiko
acbcd2f162
Standard migration command ( #2236 )
...
* Add Standard Object migration commands
* rebase
* add sync-tenant-metadata command
* fix naming
* renaming command class names
* remove field deletion and use object cascade instead
---------
Co-authored-by: Charles Bochet <charlesBochet@users.noreply.github.com >
2023-10-27 18:08:59 +02:00
Weiko
c04e866de3
Remove Metadata SoftDelete and page limit size ( #2237 )
...
* Remove Metadata SoftDelete and page limit size
* add cascade deletion
* add missing queryRunner release
2023-10-26 17:32:27 +02:00
Weiko
7fbef6d60d
Add Tenant initialisation service ( #2100 )
...
* Add Tenant initialisation service
* few fixes
* fix constraint
* fix tests
* update metadata json with employees and address
* add V2
* remove metadata.gql
2023-10-18 18:01:52 +02:00
Weiko
42e8869e0e
Add targetColumnMap to FieldMetadata ( #1863 )
...
* Add targetColumnMap to FieldMetadata
* fix
* remove console.log
* fix test
2023-10-04 15:17:53 +02:00
Weiko
1e91c985df
Add a dedicated GQL server for metadata available on /meta ( #1820 )
2023-10-03 10:17:13 +02:00