Add seeds and move to uuid (#80)

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Charles Bochet
2023-04-26 16:42:01 +02:00
committed by GitHub
parent 5aec7ca730
commit 6c7eb53333
38 changed files with 523 additions and 5935 deletions

View File

@ -91,6 +91,15 @@ object_relationships:
- name: defaultRoleByRole
using:
foreign_key_constraint_on: default_role
- name: workspace_member
using:
manual_configuration:
column_mapping:
id: user_id
insertion_order: null
remote_table:
name: workspace_members
schema: public
array_relationships:
- name: refreshTokens
using:
@ -120,13 +129,6 @@ array_relationships:
table:
name: user_providers
schema: auth
- name: workspace_member
using:
foreign_key_constraint_on:
column: user_id
table:
name: workspace_members
schema: public
event_triggers:
- name: user-created
definition: