#my $dir = "t/sql"; # tempdir(CLEANUP => 0);
#$schema->create_ddl_dir( ['PostgreSQL'], 0.1, $dir );
-$schema->deploy( { add_drop_table => 1, add_drop_view => 1 } );
+#$schema->deploy( { add_drop_table => 1, add_drop_view => 1 } );
my $drink = $schema->resultset('Sumatra')
->create( { sweetness => 4, aroma => 'earthy', flavor => 'great' } );
__PACKAGE__->table_class(MTI);
__PACKAGE__->table('coffee');
__PACKAGE__->add_columns(
- "id", { data_type => "integer", is_auto_increment => 1, },
+ "id", { data_type => "integer", is_auto_increment => 1, sequence => '_coffee_id_seq'},
"flavor", { data_type => "text", default_value => "good" },
);