Add label to indexed files, implement rudimentary server
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
-- migrate:up
|
||||
ALTER TABLE yore.day_file ADD COLUMN label text NOT NULL DEFAULT 'missing label';
|
||||
|
||||
-- migrate:down
|
||||
ALTER TABLE yore.day_file DROP COLUMN label;
|
||||
+4
-2
@@ -37,7 +37,8 @@ CREATE TABLE public.schema_migrations (
|
||||
CREATE TABLE yore.day_file (
|
||||
day_file_id bigint NOT NULL,
|
||||
day_index_id bigint,
|
||||
relative_path text NOT NULL
|
||||
relative_path text NOT NULL,
|
||||
label text DEFAULT 'missing label'::text NOT NULL
|
||||
);
|
||||
|
||||
|
||||
@@ -131,4 +132,5 @@ ALTER TABLE ONLY yore.day_file
|
||||
INSERT INTO public.schema_migrations (version) VALUES
|
||||
('20250728054639'),
|
||||
('20250728060412'),
|
||||
('20250729075246');
|
||||
('20250729075246'),
|
||||
('20250802151406');
|
||||
|
||||
Reference in New Issue
Block a user