Commit Graph

13 Commits

Author SHA1 Message Date
Charles Bochet
27d5edc031
Fetch workspace and user from database (#94)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-04 11:09:06 +02:00
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
Charles Bochet
6c7eb53333
Add seeds and move to uuid (#80)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 16:42:01 +02:00
Charles Bochet
7ae7efb523 Fix 2023-04-24 17:00:14 +02:00
Charles Bochet
6d2c8bbdf9 Assign user to workspace on signin 2023-04-24 14:53:48 +02:00
Charles Bochet
678363d8fd Fix according to PR 2023-04-21 14:37:46 +02:00
Charles Bochet
c5f2850a3b Fetch jwt token from hasura-auth with refresh_token 2023-04-21 14:07:02 +02:00
Sammy Teillet
38e2e930b6
feature: add creation dates 2023-04-20 13:58:53 +02:00
Sammy Teillet
63c31b4290
feature: add company and link person to company and workspace 2023-04-20 13:58:53 +02:00
Sammy Teillet
79f274c355
feature: add person schema in hasura 2023-04-20 13:58:52 +02:00
Charles Bochet
ead01b4184 Migrate database to default 2023-04-20 12:35:51 +02:00
Charles Bochet
7ed8d60a00 Migrate database to twenty 2023-04-20 12:26:38 +02:00
Anders Borch
39ffb0f90b Setup Hasura-auth locally 2023-04-19 17:49:09 +02:00