generated from alecodes/base-template
chore: add development workflow with compose watch
This commit is contained in:
parent
f937122a2a
commit
9194eccab9
4 changed files with 41 additions and 8 deletions
|
|
@ -1,5 +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 NOT NULL,
|
||||
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;
|
||||
|
|
|
|||
6
src/index.sql
Normal file
6
src/index.sql
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
SELECT 'list' AS component,
|
||||
'Popular websites TESTOOO' AS title;
|
||||
|
||||
SELECT 'Hello' AS title,
|
||||
'world' AS description,
|
||||
'https://wikipedia.org' AS link;
|
||||
Loading…
Add table
Add a link
Reference in a new issue