mirror of
https://github.com/TECHNOFAB11/dbmate.git
synced 2025-12-12 16:10:03 +01:00
test: Add some to test up-to/down-to specific migrations
This commit is contained in:
parent
a5b92832d3
commit
60e93d5c10
3 changed files with 167 additions and 7 deletions
9
testdata/db/migrations/20220607110405_test_category.sql
vendored
Normal file
9
testdata/db/migrations/20220607110405_test_category.sql
vendored
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
-- migrate:up
|
||||
create table categories (
|
||||
id integer,
|
||||
title varchar(50),
|
||||
slug varchar(100)
|
||||
);
|
||||
|
||||
-- migrate:down
|
||||
drop table categories;
|
||||
Loading…
Add table
Add a link
Reference in a new issue