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

12 lines
516 B
Gherkin
Raw Normal View History

Feature: Modelines in migration/callback files
Scenario: Migration with non-ascii symbols and modeline
Given migration dir
And migrations
| file | code |
| V1__Single_migration.sql | /* pgmigrate-encoding: utf-8 */SELECT ''; |
And database and connection
When we run pgmigrate with "-t 1 migrate"
Then pgmigrate command "succeeded"
And database contains schema_version