1
1
mirror of https://github.com/yandex/pgmigrate.git synced 2024-11-10 01:24:27 +03:00
pgmigrate/features/dryrun.feature
2016-10-03 18:52:42 +03:00

12 lines
418 B
Gherkin

Feature: Dryrun
Scenario: One migration in dir applies after migrate command
Given migration dir
And migrations
| file | code |
| V1__Single_migration.sql | SELECT 1; |
And database and connection
When we run pgmigrate with "-n -t 1 migrate"
Then pgmigrate command "succeeded"
And database has no schema_version table