projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Added patch from Schwern to allow cdbi compat to infer the has_many from a has_a
[dbsrgits/DBIx-Class.git]
/
t
/
testlib
/
Thing.pm
diff --git a/t/testlib/Thing.pm
b/t/testlib/Thing.pm
new file mode 100644
(file)
index 0000000..
d71e22a
--- /dev/null
+++ b/
t/testlib/Thing.pm
@@ -0,0
+1,14
@@
+package Thing;
+use base 'DBIx::Class::Test::SQLite';
+
+Thing->set_table("thing");
+Thing->columns(All => qw(id that_thing));
+
+sub create_sql {
+ return qq{
+ id INTEGER,
+ that_thing INTEGER
+ };
+}
+
+1;