trepa/migrations/20250417194859_variables.up.sql

14 lines
No EOL
419 B
SQL

CREATE TABLE public.variables
(
id integer NOT NULL GENERATED ALWAYS AS IDENTITY,
name text,
value text,
created_at timestamp without time zone NOT NULL DEFAULT now(),
updated_at timestamp without time zone NOT NULL DEFAULT now(),
PRIMARY KEY (id)
);
ALTER TABLE IF EXISTS public.variables
OWNER to dev;
INSERT INTO public.variables (name, value) VALUES ('first_account_created', 'false');