-
Notifications
You must be signed in to change notification settings - Fork 2
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
1 parent
48e7cb5
commit 20a17ba
Showing
5 changed files
with
43 additions
and
1,582 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
-- +goose Up | ||
-- +goose StatementBegin | ||
SELECT 'up SQL query'; | ||
SET search_path = devices_api, public; | ||
|
||
drop table external_vin_data; | ||
|
||
-- +goose StatementEnd | ||
|
||
-- +goose Down | ||
-- +goose StatementBegin | ||
SELECT 'down SQL query'; | ||
SET search_path = devices_api, public; | ||
|
||
create table external_vin_data | ||
( | ||
id char(27) not null | ||
constraint drivly_data_pkey | ||
primary key, | ||
device_definition_id char(27), | ||
vin text not null, | ||
user_device_id char(27), | ||
vin_metadata json, | ||
offer_metadata json, | ||
autocheck_metadata json, | ||
build_metadata json, | ||
cargurus_metadata json, | ||
carvana_metadata json, | ||
carmax_metadata json, | ||
carstory_metadata json, | ||
edmunds_metadata json, | ||
tmv_metadata json, | ||
kbb_metadata json, | ||
vroom_metadata json, | ||
created_at timestamp with time zone default CURRENT_TIMESTAMP not null, | ||
updated_at timestamp with time zone default CURRENT_TIMESTAMP not null, | ||
pricing_metadata jsonb, | ||
blackbook_metadata jsonb, | ||
request_metadata jsonb, | ||
vincario_metadata jsonb | ||
); | ||
|
||
-- +goose StatementEnd |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.