mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-11 23:50:04 +01:00
Add status command (#120)
Add new command to list applied and pending migrations. Closes #28 Closes #32 Closes #66 Closes #120
This commit is contained in:
parent
f7a3390299
commit
256f92ad19
5 changed files with 143 additions and 4 deletions
8
testdata/db/migrations/20200227231541_test_posts.sql
vendored
Normal file
8
testdata/db/migrations/20200227231541_test_posts.sql
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
-- migrate:up
|
||||
create table posts (
|
||||
id integer,
|
||||
name varchar(255)
|
||||
);
|
||||
|
||||
-- migrate:down
|
||||
drop table posts;
|
||||
Loading…
Add table
Add a link
Reference in a new issue