Skip to content

Commit

Permalink
fix: Adding user_tag_proposal schema to reset.sql for local dev (#1445)
Browse files Browse the repository at this point in the history
* Introduced in #1006
  • Loading branch information
jsdevel authored Jun 10, 2022
1 parent 1817d3b commit 8533ce4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/db/postgres/reset.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ DROP TYPE IF EXISTS upload_type CASCADE;
DROP TYPE IF EXISTS pin_status_type CASCADE;
DROP TYPE IF EXISTS auth_key_blocked_status_type CASCADE;
DROP TYPE IF EXISTS user_tag_type CASCADE;
DROP TYPE IF EXISTS user_tag_proposal_decision_type CASCADE;
DROP TABLE IF EXISTS upload CASCADE;
DROP TABLE IF EXISTS pin CASCADE;
DROP TABLE IF EXISTS pin_location;
Expand All @@ -12,6 +13,8 @@ DROP TABLE IF EXISTS content;
DROP TABLE IF EXISTS backup;
DROP TABLE IF EXISTS auth_key;
DROP TABLE IF EXISTS public.user;
DROP TABLE IF EXISTS user_tag;
DROP TABLE IF EXISTS user_tag_proposal;
DROP TABLE IF EXISTS public.name;

DROP SCHEMA IF EXISTS cargo CASCADE;
Expand All @@ -21,4 +24,4 @@ DROP MATERIALIZED VIEW IF EXISTS public.deal CASCADE;
DROP MATERIALIZED VIEW IF EXISTS public.aggregate CASCADE;

-- Reset settings from config.sql
ALTER DATABASE postgres RESET ALL;
ALTER DATABASE postgres RESET ALL;

0 comments on commit 8533ce4

Please sign in to comment.