Your schema as SQL Edit definitions.sql to the shape you want. sqlfu draft compares that desired schema with replayed migration history, shows the smart diff, then writes the reviewed migration file. Read about the migration model definitions.sql create table posts ( id integer primary key autoincrement, slug text not null unique, title text not null + published integer); terminal $ npx sqlfu draf

