Skip to content

Commit

Permalink
Merge pull request #11 from FreieRadios/10-neuer-sender-kann-nicht-an…
Browse files Browse the repository at this point in the history
…gelegt-werden

Mysql verlangt Defaultwerte  - refs #8
  • Loading branch information
lieblerm authored Dec 5, 2022
2 parents 9044638 + 599616a commit 0f9d43d
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 14 deletions.
22 changes: 11 additions & 11 deletions admin/com_stations/sql/install.mysql.utf8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,22 @@ CREATE TABLE IF NOT EXISTS `#__stations_destinations` (
`www` varchar(100) NOT NULL DEFAULT '',
`livestream` varchar(100) NOT NULL DEFAULT '',
`catid` int(11) NOT NULL DEFAULT 0,
`frn_id` int(5) NOT NULL,
`frn_id` int(5) NULL DEFAULT NULL,
`reception` text NOT NULL DEFAULT '',
`lat` varchar(200) NOT NULL,
`long` varchar(200) NOT NULL,
`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,
`checked_out_time` datetime NOT NULL,
`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,
`picture` varchar(255) NOT NULL DEFAULT '',
`assign_routeplanning` tinyint(1) NOT NULL DEFAULT 1,
`ordering` int(11) NOT NULL DEFAULT 0,
`created_by` int(11) NOT NULL DEFAULT 0,
`country` int(11) NOT NULL,
`access` int(11) NOT NULL,
`language` varchar(7) NOT NULL,
`created` datetime NOT NULL,
`modified` datetime NOT NULL,
`modified_by` int(11) NOT NULL
`country` int(11) NOT NULL DEFAULT 33,
`access` int(11) NOT NULL DEFAULT 0,
`language` varchar(7) NOT NULL DEFAULT '',
`created` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`modified` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`modified_by` INT(11) NOT NULL DEFAULT 0
)
18 changes: 18 additions & 0 deletions admin/com_stations/sql/updates/mysql/3.3.3.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 `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';
2 changes: 1 addition & 1 deletion admin/com_stations/stations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU</license>
<authorEmail>michael-liebler@janguo.de</authorEmail>
<authorUrl>https://freie-radios.de</authorUrl>
<version>3.3.2</version>
<version>3.3.3</version>
<description>COM_STATIONS_XML_DESCRIPTION</description>
<namespace path="src">Joomla\Component\Stations</namespace>

Expand Down
2 changes: 1 addition & 1 deletion media/com_stations/css/stations.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ body {
padding: 20px;
box-shadow: 1px 1px 1px 0 #22222247;
cursor: pointer;
transition: all 0.3s ease;
transition: all 0.3s ease;SDD
}

.stations-destinations .stations-destinations-item:hover {
Expand Down
2 changes: 1 addition & 1 deletion stations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>GNU</license>
<authorEmail>michael-liebler@janguo.de</authorEmail>
<authorUrl>https://freie-radios.de</authorUrl>
<version>3.3.2</version>
<version>3.3.3</version>
<description>COM_STATIONS_XML_DESCRIPTION</description>
<namespace path="src">Joomla\Component\Stations</namespace>

Expand Down

0 comments on commit 0f9d43d

Please sign in to comment.