twenty/hasura/migrations/default
Anders Borch d4b1b2f661
Companies table (#79)
* Add columns to companies:
* account_owner_id
* employees
* address

Add foreign key constraint companies_account_owner_id_fkey
to auth.users.id

* Add select permissions to:
* account_owner_id
* employees
* address

Add relationship between companies and auth.users.

* Update Companies interface to include:
* account_owner_id
* employees
* address

Opportunity is expected to be replace by actual opportunity in a separate PR.

* Add GetCompanies query

* Add initial companies table

* Update test to use mock apollo provider

* Update to match changed company column names

* Add company interface mapping tests

* Test entire object

* Add test for companies being rendered in table.

* Add test for sorting reduce.

* Fix prettier errors
2023-04-27 12:46:43 +02:00
..
1681407878182_create_table_public_workspaces Migrate database to default 2023-04-20 12:35:51 +02:00
1681983598184_create_table_public_person feature: add person schema in hasura 2023-04-20 13:58:52 +02:00
1681984687438_alter_table_public_person_add_column_workspace_id feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
1681984711213_set_fk_public_person_workspace_id feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
1681984791629_create_table_public_company feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
1681984808493_alter_table_public_person_add_column_company_id feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
1681984826832_set_fk_public_person_company_id feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
1681984914048_alter_table_public_person_drop_column_company_domain feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
1681984943482_alter_table_public_person_add_column_email feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
1681985666317_alter_table_public_person_add_column_created_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985672955_alter_table_public_person_add_column_updated_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985681541_alter_table_public_company_add_column_created_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985694121_alter_table_public_company_add_column_updated_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985702276_alter_table_public_company_alter_column_created_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985713183_alter_table_public_person_alter_column_created_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985718674_alter_table_public_person_alter_column_updated_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985725409_alter_table_public_workspaces_add_column_created_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1681985729821_alter_table_public_workspaces_add_column_updated_at feature: add creation dates 2023-04-20 13:58:53 +02:00
1682071086392_rename_table_public_company Fetch jwt token from hasura-auth with refresh_token 2023-04-21 14:07:02 +02:00
1682071094664_rename_table_public_person Fetch jwt token from hasura-auth with refresh_token 2023-04-21 14:07:02 +02:00
1682080463312_rename_table_public_persons Fix according to PR 2023-04-21 14:37:46 +02:00
1682338781740_squashed Fix 2023-04-24 17:00:14 +02:00
1682512434146_squashed Add seeds and move to uuid (#80) 2023-04-26 16:42:01 +02:00
1682512888256_create_table_public_workspaces Add seeds and move to uuid (#80) 2023-04-26 16:42:01 +02:00
1682513024159_create_table_public_workspace_members Add seeds and move to uuid (#80) 2023-04-26 16:42:01 +02:00
1682513157730_create_table_public_companies Add seeds and move to uuid (#80) 2023-04-26 16:42:01 +02:00
1682513293454_create_table_public_people Add seeds and move to uuid (#80) 2023-04-26 16:42:01 +02:00
1682514543325_alter_table_public_companies_add_column_account_owner_id Companies table (#79) 2023-04-27 12:46:43 +02:00
1682514575594_alter_table_public_companies_add_column_employees Companies table (#79) 2023-04-27 12:46:43 +02:00
1682514633489_alter_table_public_companies_add_column_address Companies table (#79) 2023-04-27 12:46:43 +02:00
1682514786385_set_fk_public_companies_account_owner_id Companies table (#79) 2023-04-27 12:46:43 +02:00