notes postgres backend

This commit is contained in:
bogale 2026-09-29 17:49:35 +09:00
commit 6519fa6827
9 changed files with 82 additions and 55 deletions

8
local/notes/db.sql Normal file
View file

@ -0,0 +1,8 @@
drop schema if exists notes cascade;
create schema notes;
create table notes.entries(
id int generated always as identity primary key,
title text not null,
note text not null,
date date default current_date not null
);