реализован механизм миграций
This commit is contained in:
1 parent
0b31f06efb
commit
4571b24fce
19 files changed
+471
-135
No files matched your search
@@ -0,0 +1,20 @@
|
||||
CREATE TABLE `threads` (
|
||||
`id` int(11) NOT NULL,
|
||||
`active` varchar(1) NOT NULL DEFAULT 'N',
|
||||
`in_progress` varchar(1) NOT NULL DEFAULT 'N',
|
||||
`executed` varchar(1) NOT NULL DEFAULT 'N',
|
||||
`execution_time` varchar(255) DEFAULT NULL,
|
||||
`attempts` int(11) NOT NULL,
|
||||
`date_created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||
`date_updated` datetime DEFAULT NULL,
|
||||
`class` varchar(255) DEFAULT NULL,
|
||||
`method` varchar(255) DEFAULT NULL,
|
||||
`params` text,
|
||||
`status` varchar(255) DEFAULT NULL,
|
||||
`response` text
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
||||
|
||||
ALTER TABLE `threads` ADD PRIMARY KEY (`id`), ADD UNIQUE KEY `id` (`id`);
|
||||
|
||||
ALTER TABLE `threads` MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17923;
|
||||
COMMIT;
|
||||
Reference in new issue
Block a user