1
1
mirror of https://github.com/yandex/pgmigrate.git synced 2024-09-20 00:31:17 +03:00
pgmigrate/features/clean.feature
2016-10-03 18:52:42 +03:00

13 lines
454 B
Gherkin

Feature: Clean
Scenario: Cleaning database makes it uninitialized
Given migration dir
And migrations
| file | code |
| V1__Single_migration.sql | SELECT 1; |
And database and connection
And successful pgmigrate run with "-t 1 migrate"
When we run pgmigrate with "clean"
Then pgmigrate command "succeeded"
And database has no schema_version table