use lib qw(t/lib);
use DBICTest;
- plan tests => 70;
-plan tests => 104;
++plan tests => 85;
my $schema = DBICTest->init_schema();
- # simple create + parent (the stuff $rs belongs_to)
-diag '* simple create + parent (the stuff $rs belongs_to)';
++diag '* simple create + parent (the stuff $rs belongs_to)'
eval {
my $cd = $schema->resultset('CD')->create({
artist => {
CREATE INDEX cd_artwork_idx_cd_id_cd_artwor ON cd_artwork (cd_id);
--
+-- Table: bindtype_test
+--
+CREATE TABLE bindtype_test (
+ id INTEGER PRIMARY KEY NOT NULL,
+ bytea blob,
+ blob blob,
+ clob clob
+);
+
+
+--
+ -- Table: artwork_to_artist
+ --
+ CREATE TABLE artwork_to_artist (
+ artwork_cd_id integer NOT NULL,
+ artist_id integer NOT NULL,
+ PRIMARY KEY (artwork_cd_id, artist_id)
+ );
+
+ CREATE INDEX artwork_to_artist_idx_artist_id_artwork_to_arti ON artwork_to_artist (artist_id);
+ CREATE INDEX artwork_to_artist_idx_artwork_cd_id_artwork_to_ ON artwork_to_artist (artwork_cd_id);
+
+ --
-- Table: bookmark
--
CREATE TABLE bookmark (