8 lines
235 B
SQL
8 lines
235 B
SQL
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
|
|
);
|