use Test::Differences;
use SQL::Translator;
+my $sqlt_version = $SQL::Translator::VERSION;
+
# The _GLOBAL_ table should be removed and its fields copied onto all other
# tables.
my $in_yaml = qq{---
procedures: {}
tables:
Person:
- comments: ''
constraints:
- deferrable: 1
expression: ''
type: UNIQUE
fields:
created:
- comments: ''
data_type: timestamp
default_value: ~
extra: {}
size:
- 0
first_name:
- comments: ''
data_type: foovar
default_value: ~
extra: {}
size:
- 0
modified:
- comments: ''
data_type: timestamp
default_value: ~
extra: {}
producer_type: SQL::Translator::Producer::YAML
show_warnings: 1
trace: 0
- version: 0.07
+ version: $sqlt_version
};