aboutsummaryrefslogtreecommitdiff
path: root/engine/schema
diff options
context:
space:
mode:
Diffstat (limited to 'engine/schema')
-rw-r--r--engine/schema/mysql.sql2
-rw-r--r--engine/schema/upgrades/2010030101.sql1
2 files changed, 2 insertions, 1 deletions
diff --git a/engine/schema/mysql.sql b/engine/schema/mysql.sql
index 638f7ce26..56c2a4077 100644
--- a/engine/schema/mysql.sql
+++ b/engine/schema/mysql.sql
@@ -130,7 +130,7 @@ CREATE TABLE `prefix_entities` (
`access_id` int(11) NOT NULL,
`time_created` int(11) NOT NULL,
`time_updated` int(11) NOT NULL,
- `last_action` int(11) NOT NULL,
+ `last_action` int(11) NOT NULL DEFAULT '0',
`enabled` enum('yes','no') NOT NULL DEFAULT 'yes',
PRIMARY KEY (`guid`),
KEY `type` (`type`),
diff --git a/engine/schema/upgrades/2010030101.sql b/engine/schema/upgrades/2010030101.sql
new file mode 100644
index 000000000..cc7af98c9
--- /dev/null
+++ b/engine/schema/upgrades/2010030101.sql
@@ -0,0 +1 @@
+ALTER TABLE `prefix_entities` CHANGE `last_action` `last_action` INT( 11 ) NOT NULL DEFAULT '0'