Working on tests for the Model class
Fixed some bugs, got MySQL setup for Travis.
This commit is contained in:
parent
200988eecf
commit
51467a60f7
9 changed files with 209 additions and 52 deletions
16
tests/schema.sql
Normal file
16
tests/schema.sql
Normal file
|
@ -0,0 +1,16 @@
|
|||
CREATE TABLE `pickles` (
|
||||
`id` int(1) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`field1` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`field2` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`field3` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`field4` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`field5` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`created_id` int(1) unsigned DEFAULT NULL,
|
||||
`created_at` datetime NOT NULL,
|
||||
`updated_id` int(1) unsigned DEFAULT NULL,
|
||||
`updated_at` datetime DEFAULT NULL,
|
||||
`deleted_id` int(1) unsigned DEFAULT NULL,
|
||||
`deleted_at` datetime DEFAULT NULL,
|
||||
`is_deleted` tinyint(1) unsigned DEFAULT '0',
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
Loading…
Add table
Add a link
Reference in a new issue