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 d27a77c commit df1e320
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions admin/com_stations/sql/updates/mysql/3.3.3.sql
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
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` 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 '',
CHANGE `zipcode` `zipcode` VARCHAR(50) NOT NULL DEFAULT '',
CHANGE `town` `town` VARCHAR(250) NOT NULL DEFAULT '',
CHANGE `www` `www` VARCHAR(100) NOT NULL DEFAULT '',
CHANGE `livestream` `livestream` VARCHAR(100) NOT NULL DEFAULT '',
CHANGE `lat` `lat` VARCHAR(200) NOT NULL DEFAULT '',
CHANGE `long` `long` VARCHAR(200) NOT NULL DEFAULT '',
CHANGE `txt` `txt` TEXT NOT NULL DEFAULT '',
CHANGE `country` `country` INT(11) NOT NULL DEFAULT '33',
CHANGE `access` `access` INT(11) NOT NULL DEFAULT 0;
CHANGE `language` `language` VARCHAR(7) NOT NULL DEFAULT '',
CHANGE `created` `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
CHANGE `modified` `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00',
CHANGE `modified_by` `modified_by` INT(11) NOT NULL DEFAULT 0;
ALTER TABLE `#__stations_destinations` CHANGE `frn_id` `frn_id` INT(5) NULL DEFAULT NULL;
ALTER TABLE `#__stations_destinations` CHANGE `checked_out_time` `checked_out_time` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `#__stations_destinations` CHANGE `checked_out` `checked_out` INT(11) NULL DEFAULT '0';
ALTER TABLE `#__stations_destinations` CHANGE `name` `name` VARCHAR(100) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `alias` `alias` VARCHAR(180) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `address` `address` VARCHAR(200) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `zipcode` `zipcode` VARCHAR(50) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `town` `town` VARCHAR(250) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `www` `www` VARCHAR(100) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `livestream` `livestream` VARCHAR(100) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `lat` `lat` VARCHAR(200) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `long` `long` VARCHAR(200) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `txt` `txt` TEXT NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `country` `country` INT(11) NOT NULL DEFAULT '33';
ALTER TABLE `#__stations_destinations` CHANGE `access` `access` INT(11) NOT NULL DEFAULT 0;
ALTER TABLE `#__stations_destinations` CHANGE `language` `language` VARCHAR(7) NOT NULL DEFAULT '';
ALTER TABLE `#__stations_destinations` CHANGE `created` `created` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `#__stations_destinations` CHANGE `modified` `modified` DATETIME NOT NULL DEFAULT '0000-00-00 00:00:00';
ALTER TABLE `#__stations_destinations` CHANGE `modified_by` `modified_by` INT(11) NOT NULL DEFAULT 0;

0 comments on commit df1e320

Please sign in to comment.