mascarpone/migrations/each_user/0001_contact-tables.sql

13 lines
333 B
MySQL
Raw Normal View History

2025-11-27 13:45:21 -06:00
create table if not exists contacts (
id integer primary key autoincrement,
birthday text,
manually_freshened_at date -- text, iso8601 date
);
create table if not exists names (
id integer primary key,
contact_id integer not null references contacts(id) on delete cascade,
sort integer not null,
name text not null
);