Testing Database class
This commit is contained in:
parent
8655045097
commit
2ff7a658e7
3 changed files with 57 additions and 23 deletions
|
@ -18,23 +18,6 @@ CREATE TABLE `pickles` (
|
|||
KEY is_deleted (is_deleted)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
|
||||
DROP TABLE IF EXISTS brines;
|
||||
|
||||
CREATE TABLE `brines` (
|
||||
`id` int(1) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`pickle_id` int(1) unsigned DEFAULT 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`),
|
||||
KEY pickle_id (pickle_id),
|
||||
KEY is_deleted (is_deleted)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||
|
||||
DROP TABLE IF EXISTS users;
|
||||
|
||||
CREATE TABLE `users` (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue