X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F745db2.t;h=5d628e800d18d937e5e746a8b164b08af2a3e632;hb=8f5357074109c0b803f1565921cb13f85449d8d1;hp=82475b18a633dbb682b9c24afe8a0e351f1518f6;hpb=88c0013061e4c9b601a82b33fe32771d893ccab7;p=dbsrgits%2FDBIx-Class.git diff --git a/t/745db2.t b/t/745db2.t index 82475b1..5d628e8 100644 --- a/t/745db2.t +++ b/t/745db2.t @@ -20,7 +20,7 @@ my $dbh = $schema->storage->dbh; eval { $dbh->do("DROP TABLE artist") }; -$dbh->do("CREATE TABLE artist (artistid INTEGER GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), name VARCHAR(255), charfield CHAR(10));"); +$dbh->do("CREATE TABLE artist (artistid INTEGER GENERATED BY DEFAULT AS IDENTITY (START WITH 1, INCREMENT BY 1), name VARCHAR(255), charfield CHAR(10), rank INTEGER DEFAULT 13);"); # This is in core, just testing that it still loads ok $schema->class('Artist')->load_components('PK::Auto'); @@ -60,6 +60,11 @@ my $test_type_info = { 'is_nullable' => 1, 'size' => 10 }, + 'rank' => { + 'data_type' => 'INTEGER', + 'is_nullable' => 1, + 'size' => 10 + }, };