Fix order of Down query
This commit is contained in:
@ -46,10 +46,10 @@ ALTER TABLE "transactions" ADD FOREIGN KEY ("account_id") REFERENCES "accounts"
|
||||
ALTER TABLE "transactions" ADD FOREIGN KEY ("payee_id") REFERENCES "payees" ("id");
|
||||
|
||||
-- +goose Down
|
||||
DROP EXTENSION "uuid-ossp";
|
||||
DROP TABLE budgets;
|
||||
DROP TABLE users;
|
||||
DROP TABLE user_budgets;
|
||||
DROP TABLE transactions;
|
||||
DROP TABLE accounts;
|
||||
DROP TABLE payees;
|
||||
DROP TABLE payees;
|
||||
DROP TABLE user_budgets;
|
||||
DROP TABLE budgets;
|
||||
DROP TABLE users;
|
||||
DROP EXTENSION "uuid-ossp";
|
Reference in New Issue
Block a user