Commit Graph

19 Commits

Author SHA1 Message Date
i-norden
e2f261caa9 include timestamp for when version is updated 2021-12-27 13:52:52 -06:00
i-norden
3833fb85e2 singleton table for internally recording the database schema version 2021-12-27 11:35:32 -06:00
Arijit Das
e532192a6d Fix CI test. 2021-12-20 21:20:50 +05:30
Arijit Das
db48f344f0 Fix failing CI and update incremental migration. 2021-12-20 14:07:48 +05:30
Arijit Das
852b5da40c Address comments and add subscription for state_accounts and access_list_elements 2021-12-14 15:57:54 +05:30
Arijit Das
35f72bc438 Fix canonical_header_id function. 2021-12-08 13:31:40 +05:30
Arijit Das
ed183ed182 Implement postgraphile trigger. 2021-12-08 13:30:59 +05:30
i-norden
925dba5759 reorder columns to match order of values written to .sql files so that when we convert to .csv and load using COPY FROM it doesn't need to sort 2021-11-25 11:33:39 -06:00
i-norden
636fa35b84 revert my data type mistake 2021-11-24 17:52:21 -06:00
i-norden
4392505b16 use BIGINT not NUMERIC, it is faster for arithmetic operations and uses less space 2021-11-20 13:49:03 -06:00
i-norden
b8f0c194b8 remove pks; migrations to add back pks and fks 2021-11-18 17:46:50 -06:00
i-norden
0fb07a0a77 use node_id as PK/FK 2021-11-18 08:19:36 -06:00
i-norden
7cc9201a94 new natural primary key scheme 2021-11-14 18:23:26 -06:00
Arijit Das
91d92bc0bc Fix CI workflow. 2021-10-08 19:01:40 +05:30
Arijit Das
1db8a682df Upgrade statediff image to v0.9.0. 2021-10-08 18:36:21 +05:30
Arijit Das
562ee3e782 Create a docker image with postgres DB and concise migration. 2021-10-05 16:21:18 +05:30
i-norden
051ffe1c48 the new migrations that were missing 2021-09-10 13:51:47 -05:00
i-norden
5e6fb5b81b add btree indexes to storage_cids and state_cids node_type; new db schema 2021-09-10 13:27:31 -05:00
Ian Norden
ab6053e7a8 db schema and migrations 2021-08-29 13:55:44 -05:00