Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixs todos in SQL migration file #3379

Merged
merged 1 commit into from
Sep 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions storage/sql_migrations/003_did.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ create table did_document_version
-- id is v4 uuid
id varchar(36) not null primary key,
did varchar(370) not null,
created_at integer, -- make not nil in future PR
updated_at integer, -- make not nil in future PR
created_at integer not null,
updated_at integer not null,
version int not null,
raw $TEXT_TYPE, -- make not nil in future PR
raw $TEXT_TYPE not null,
unique (did, version),
foreign key (did) references did (id) on delete cascade
);
Expand Down Expand Up @@ -102,7 +102,9 @@ create table did_document_to_service
);

-- +goose Down
drop table did_document_to_verification_method;
drop table did_verification_method;
drop table did_document_to_service;
drop table did_service;
drop table did_change_log;
drop table did_document_version;
Expand Down
Loading