Skip to content

Commit

Permalink
fix: remove postgres user from migration
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 committed Feb 17, 2024
1 parent 6303ef7 commit 42bbef4
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions moksha-mint/migrations/20240112101746_onchain.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-- Add migration script here
CREATE TABLE IF NOT EXISTS public.onchain_mint_quotes
CREATE TABLE IF NOT EXISTS onchain_mint_quotes
(
id uuid NOT NULL,
address text COLLATE pg_catalog."default" NOT NULL,
Expand All @@ -9,12 +9,8 @@ CREATE TABLE IF NOT EXISTS public.onchain_mint_quotes
CONSTRAINT onchain_mint_quotes_pkey PRIMARY KEY (id)
)

TABLESPACE pg_default;

ALTER TABLE IF EXISTS public.onchain_mint_quotes
OWNER to postgres;

CREATE TABLE IF NOT EXISTS public.onchain_melt_quotes
CREATE TABLE IF NOT EXISTS onchain_melt_quotes
(
id uuid NOT NULL,
amount bigint NOT NULL,
Expand All @@ -25,8 +21,3 @@ CREATE TABLE IF NOT EXISTS public.onchain_melt_quotes
paid boolean NOT NULL,
CONSTRAINT onchain_melt_quotes_pkey PRIMARY KEY (id)
)

TABLESPACE pg_default;

ALTER TABLE IF EXISTS public.onchain_melt_quotes
OWNER to postgres;

0 comments on commit 42bbef4

Please sign in to comment.