First stab at restructuring with tests_recursive() - no functional changes
[dbsrgits/DBIx-Class.git] / t / cdbi / testlib / Order.pm
diff --git a/t/cdbi/testlib/Order.pm b/t/cdbi/testlib/Order.pm
new file mode 100644 (file)
index 0000000..703005d
--- /dev/null
@@ -0,0 +1,20 @@
+package # hide from PAUSE 
+    Order;
+
+use strict;
+use base 'DBIx::Class::Test::SQLite';
+
+__PACKAGE__->set_table('orders');
+__PACKAGE__->table_alias('orders');
+__PACKAGE__->columns(Primary => 'film');
+__PACKAGE__->columns(Others  => qw/orders/);
+
+sub create_sql {
+       return qq{
+               film     VARCHAR(255),
+               orders   INTEGER
+       };
+}
+
+1;
+