Skip to content

Commit

Permalink
write separate up/down files for migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
cottand committed Aug 25, 2024
1 parent ad780ba commit 3998f8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions services/s-rpc-portfolio-stats/migrations/001_init.down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
drop table "s-rpc-portfolio-stats".visit;

drop schema "s-rpc-portfolio-stats";

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
create schema "s-rpc-portfolio-stats";


create table "s-rpc-portfolio-stats".visit (
id UUID NOT NULL DEFAULT uuid_generate_v4(),
url varchar not null
Expand Down

0 comments on commit 3998f8b

Please sign in to comment.