chore: add development workflow with compose watch

This commit is contained in:
Alexander Navarro 2025-02-05 16:47:26 -03:00
parent f937122a2a
commit 9194eccab9
4 changed files with 41 additions and 8 deletions

View file

@ -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
View 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;