notes postgres backend
This commit is contained in:
parent
9d716fd449
commit
6519fa6827
9 changed files with 82 additions and 55 deletions
8
local/notes/db.sql
Normal file
8
local/notes/db.sql
Normal 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
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue