diff --git a/server/conf/evolutions/default/10.sql b/server/conf/evolutions/default/10.sql new file mode 100644 index 0000000..ddfbcc7 --- /dev/null +++ b/server/conf/evolutions/default/10.sql @@ -0,0 +1,13 @@ + +# --- !Ups + +ALTER TABLE transactions + ALTER COLUMN index SET NOT NULL, + ALTER COLUMN index DROP DEFAULT; + + +# --- !Downs + +ALTER TABLE transactions + ALTER COLUMN index DROP NOT NULL, + ALTER COLUMN index SET DEFAULT NULL;