The migrations themselves have an extremely simple file format. They are
simply the up and down SQL statements divided by a magic comment.
---- create above / drop below ----
Example:
create table t1 ( id serial primary key ); -- -- create above / drop below ---- drop table t1;
If a migration is irreversible such as a drop table, simply delete the magic
comment.
drop table widgets;
If you want to change selection, open document below and click on "Move attachment"
Unknown title This will create a migration file with the given name prefixed by the next available sequence number (e.g. 001, 002, 003). The -e flag can be used to automatically open the new file in EDITOR. <span>The migrations themselves have an extremely simple file format. They are simply the up and down SQL statements divided by a magic comment. ---- create above / drop below ---- Example: create table t1( id serial primary key ); ---- create above / drop below ---- drop table t1; If a migration is irreversible such as a drop table, simply delete the magic comment. drop table widgets; To interpolate a custom data value from the config file prefix the name with a dot and surround the whole with double curly braces. create table {{.prefix}}config( id serial primary key Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details