Commit Graph

104 Commits

Author SHA1 Message Date
i-norden
3833fb85e2 singleton table for internally recording the database schema version 2021-12-27 11:35:32 -06:00
Ian Norden
762bc3607a
Merge pull request #36 from vulcanize/release-v0.3.1
Release v0.3.1
2021-12-20 12:50:56 -06:00
Ian Norden
6c75ec7196
Merge pull request #34 from vulcanize/postgres_refactor
New DB schema
2021-12-20 12:16:53 -06:00
i-norden
ba962f67f4 updated UML 2021-12-20 12:14:03 -06:00
Ian Norden
e64e6bad13
Merge pull request #29 from vulcanize/impl-postgraphile-trigger
Implement postgraphile subscriptions for the updated schema
2021-12-20 11:37:17 -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
Ian Norden
8fe193be69
Merge pull request #27 from vulcanize/schema_updates
Schema updates
2021-11-26 09:23:15 -06:00
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
36dc668976 proposed schema changes 2021-11-25 11:33:39 -06:00
Ian Norden
6c27203579
Merge pull request #26 from vulcanize/schema_updates
revert my data type mistake
2021-11-24 17:56:20 -06:00
i-norden
636fa35b84 revert my data type mistake 2021-11-24 17:52:21 -06:00
Ian Norden
1c1826773b
Merge pull request #25 from vulcanize/schema_updates
make tables unlogged for batch import
2021-11-23 11:04:37 -06:00
i-norden
217bbf9523 make tables unlogged for batch import 2021-11-22 23:41:32 -06:00
Ian Norden
65be24efaa
Merge pull request #24 from vulcanize/schema_updates
use BIGINT not NUMERIC, it is faster for arithmetic operations and us…
2021-11-20 14:30:10 -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
Ian Norden
86ccdcd7e7
Merge pull request #23 from vulcanize/add_back_indexes
add back indexes
2021-11-18 19:11:34 -06:00
i-norden
1b4a6fc2e3 split pre and post batch processing migrations apart; create make targets for running each 2021-11-18 19:03:37 -06:00
i-norden
cb4d0a1275 fix access list and log pks 2021-11-18 18:53:55 -06:00
Ian Norden
827de908f4
Merge pull request #22 from vulcanize/strip_pks_and_fks
Migrations to add back pks and fks
2021-11-18 18:12:33 -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
6105603585 remove postgraphile trigger, it needs to be reworked after PK updates 2021-11-17 18:56:04 -06:00
i-norden
8e644ebdf4 set of migrations for the parallel batch processing 2021-11-15 11:09:17 -06:00
Ian Norden
68e2b1e5cd
Merge pull request #18 from vulcanize/schema_update
new natural primary key scheme
2021-11-15 11:05:26 -06:00
i-norden
7cc9201a94 new natural primary key scheme 2021-11-14 18:23:26 -06:00
Arijit Das
075a790dfc
Merge pull request #14 from vulcanize/fix-dir
Fix migration directory in Makefile.
2021-10-21 16:09:29 +05:30
Arijit Das
66ece5d618
Merge pull request #15 from vulcanize/compare-migration
Compare Up and Down Migration.
2021-10-13 19:39:07 +05:30
Arijit Das
a8ad027698 Compare Up and Down Migration. 2021-10-13 13:09:58 +05:30
Arijit Das
6e03bf6cfa Fix migration directory in Makefile. 2021-10-12 17:06:14 +05:30
Arijit Das
0174b9f978
Merge pull request #12 from vulcanize/fix-docker-image
Fix docker image.
2021-10-09 16:47:06 +05:30
Arijit Das
76ea0d32dd Fix docker image. 2021-10-09 16:43:16 +05:30
Arijit Das
e841fde8ed
Merge pull request #11 from vulcanize/fix-gh-workflow
Fix on-main workflow.
2021-10-08 19:12:49 +05:30
Arijit Das
8ba6ab2c9f Fix on-main workflow. 2021-10-08 19:09:08 +05:30
Arijit Das
e5af6a1abe
Merge pull request #10 from vulcanize/concise-migration-db
Create a docker image with postgres DB and concise migration.
2021-10-08 19:04:24 +05:30
Arijit Das
91d92bc0bc Fix CI workflow. 2021-10-08 19:01:40 +05:30
Arijit Das
d8bf76a48f Fix branch name in workflow. 2021-10-08 18:52:51 +05:30
Arijit Das
1db8a682df Upgrade statediff image to v0.9.0. 2021-10-08 18:36:21 +05:30
Arijit Das
c89a73f738 Minor fix. 2021-10-05 16:47:45 +05:30
Arijit Das
562ee3e782 Create a docker image with postgres DB and concise migration. 2021-10-05 16:21:18 +05:30
Ian Norden
5d887c83d7
Merge pull request #5 from vulcanize/uml_update
update UML
2021-09-13 09:26:10 -05:00
i-norden
59ca681901 update UML 2021-09-10 14:22:47 -05:00
Ian Norden
cf785ae34d
Merge pull request #4 from vulcanize/btree_indexes
Btree indexes
2021-09-10 14:07:40 -05:00
i-norden
245a0e180a Makefile for running migrations, etc 2021-09-10 13:52:11 -05:00
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
95419285e5
Merge pull request #3 from vulcanize/uml
database uml
2021-08-29 14:05:55 -05:00