generated from alecodes/base-template
feat: add database service as dev dependency
This commit is contained in:
parent
5362d2ba30
commit
ca2ea91976
9 changed files with 1047 additions and 0 deletions
13
db/migrations/20250205190533_create_sources_table.sql
Normal file
13
db/migrations/20250205190533_create_sources_table.sql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
-- 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue