mascarpone/migrations/each_user/0005_address-tables.sql

6 lines
177 B
SQL

create table if not exists addresses (
id integer primary key,
contact_id integer not null references contacts(id) on delete cascade,
label text,
value text not null
);