mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-25 09:57:10 +01:00
Refactor migrations with $up & $down
This commit is contained in:
10
system/migrations/28-hooks.sql
Normal file
10
system/migrations/28-hooks.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
CREATE TABLE `myaac_hooks`
|
||||
(
|
||||
`id` INT(11) NOT NULL AUTO_INCREMENT,
|
||||
`name` VARCHAR(30) NOT NULL DEFAULT '',
|
||||
`type` INT(2) NOT NULL DEFAULT 0,
|
||||
`file` VARCHAR(100) NOT NULL,
|
||||
`ordering` INT(11) NOT NULL DEFAULT 0,
|
||||
`enabled` INT(1) NOT NULL DEFAULT 1,
|
||||
PRIMARY KEY (`id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARACTER SET=utf8;
|
||||
Reference in New Issue
Block a user