Skip to content

Commit

Permalink
Mysql verlangt Defaultwerte - refs #8
Browse files Browse the repository at this point in the history
  • Loading branch information
lieblerm committed Dec 5, 2022
1 parent 51c98fc commit d27a77c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion admin/com_stations/sql/install.mysql.utf8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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 '',
Expand Down
2 changes: 1 addition & 1 deletion admin/com_stations/sql/updates/mysql/3.3.3.sql
Original file line number Diff line number Diff line change
@@ -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 '',
Expand Down

0 comments on commit d27a77c

Please sign in to comment.