This repository has been archived by the owner on Aug 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from vulcanize/VDB322-Vow-storage-diff
Vdb322 vow storage diff
- Loading branch information
Showing
12 changed files
with
1,131 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
db/migrations/00074_create_vow_contract_storage_tables.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
-- +goose Up | ||
CREATE TABLE maker.vow_vat ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
vat TEXT | ||
); | ||
|
||
CREATE TABLE maker.vow_cow ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
cow TEXT | ||
); | ||
|
||
CREATE TABLE maker.vow_row ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
row TEXT | ||
); | ||
|
||
CREATE TABLE maker.vow_sin ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
sin numeric | ||
); | ||
|
||
CREATE TABLE maker.vow_woe ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
woe numeric | ||
); | ||
|
||
CREATE TABLE maker.vow_ash ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
ash numeric | ||
); | ||
|
||
CREATE TABLE maker.vow_wait ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
wait numeric | ||
); | ||
|
||
CREATE TABLE maker.vow_sump ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
sump numeric | ||
); | ||
|
||
CREATE TABLE maker.vow_bump ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
bump numeric | ||
); | ||
|
||
CREATE TABLE maker.vow_hump ( | ||
id SERIAL PRIMARY KEY, | ||
block_number BIGINT, | ||
block_hash TEXT, | ||
hump numeric | ||
); | ||
|
||
-- +goose Down | ||
DROP TABLE maker.vow_vat; | ||
DROP TABLE maker.vow_cow; | ||
DROP TABLE maker.vow_row; | ||
DROP TABLE maker.vow_sin; | ||
DROP TABLE maker.vow_woe; | ||
DROP TABLE maker.vow_ash; | ||
DROP TABLE maker.vow_wait; | ||
DROP TABLE maker.vow_sump; | ||
DROP TABLE maker.vow_bump; | ||
DROP TABLE maker.vow_hump; |
Oops, something went wrong.