-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
182 additions
and
30 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
15 changes: 15 additions & 0 deletions
15
docker/mobile/postgres_seeder/post_migration/mobile_metadata-key_to_assets.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,15 @@ | ||
CREATE TABLE IF NOT EXISTS public.key_to_assets ( | ||
address character varying(255) NOT NULL, | ||
dao character varying(255) NULL, | ||
asset character varying(255) NULL, | ||
entity_key bytea NULL, | ||
bump_seed integer NULL, | ||
refreshed_at timestamp with time zone NULL, | ||
created_at timestamp with time zone NOT NULL, | ||
key_serialization jsonb NULL | ||
); | ||
|
||
ALTER TABLE | ||
public.key_to_assets | ||
ADD | ||
CONSTRAINT key_to_assets_pkey PRIMARY KEY (address) |
18 changes: 18 additions & 0 deletions
18
docker/mobile/postgres_seeder/post_migration/mobile_metadata-mobile_hotspot_infos.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,18 @@ | ||
CREATE TABLE IF NOT EXISTS public.mobile_hotspot_infos ( | ||
address character varying(255) NOT NULL, | ||
asset character varying(255) NULL, | ||
bump_seed integer NULL, | ||
location numeric NULL, | ||
is_full_hotspot boolean NULL, | ||
num_location_asserts integer NULL, | ||
refreshed_at timestamp with time zone NULL, | ||
created_at timestamp with time zone NOT NULL, | ||
is_active boolean NULL, | ||
dc_onboarding_fee_paid numeric NULL, | ||
device_type jsonb NOT NULL | ||
); | ||
|
||
ALTER TABLE | ||
public.mobile_hotspot_infos | ||
ADD | ||
CONSTRAINT mobile_hotspot_infos_pkey PRIMARY KEY (address) |
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
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
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