diff --git a/admin/com_stations/sql/install.mysql.utf8.sql b/admin/com_stations/sql/install.mysql.utf8.sql index 7b8f6e1..485736f 100644 --- a/admin/com_stations/sql/install.mysql.utf8.sql +++ b/admin/com_stations/sql/install.mysql.utf8.sql @@ -13,7 +13,7 @@ CREATE TABLE IF NOT EXISTS `#__stations_destinations` ( `lat` varchar(200) NOT NULL DEFAULT '', `long` varchar(200) NOT NULL DEFAULT '', `published` tinyint(1) NOT NULL DEFAULT 0, - `checked_out` int(11) DEFAULT NULL DEFAULT 0, + `checked_out` int(11) NOT NULL DEFAULT 0, `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `txt` text NOT NULL DEFAULT '', `picture` varchar(255) NOT NULL DEFAULT '', diff --git a/admin/com_stations/sql/updates/mysql/3.3.3.sql b/admin/com_stations/sql/updates/mysql/3.3.3.sql index d9cc275..657e2ac 100644 --- a/admin/com_stations/sql/updates/mysql/3.3.3.sql +++ b/admin/com_stations/sql/updates/mysql/3.3.3.sql @@ -1,6 +1,6 @@ ALTER TABLE `#__stations_destinations` CHANGE `frn_id` `frn_id` INT(5) NULL DEFAULT NULL, CHANGE `checked_out_time` `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00', -CHANGE `checked_out` `checked_out` DEFAULT NULL DEFAULT 0, +CHANGE `checked_out` `checked_out` NOT NULL DEFAULT 0, CHANGE `name` `name` VARCHAR(100) NOT NULL DEFAULT '', CHANGE `alias` `alias` VARCHAR(180) NOT NULL DEFAULT '', CHANGE `address` `address` VARCHAR(200) NOT NULL DEFAULT '',