generated from alecodes/base-template
13 lines
390 B
SQL
13 lines
390 B
SQL
-- migrate:up
|
|
CREATE TABLE public.sources (
|
|
id serial PRIMARY KEY,
|
|
name character varying(20) NOT NULL,
|
|
uid character varying(8) NOT NULL,
|
|
uri character varying,
|
|
created_at timestamp with time zone DEFAULT CURRENT_TIMESTAMP NOT NULL,
|
|
updated_at timestamp with time zone,
|
|
deleted_at timestamp with time zone
|
|
);
|
|
|
|
-- migrate:down
|
|
DROP TABLE public.sources;
|