Installable version created

This commit is contained in:
Christian Wolf 2019-06-13 13:32:53 +02:00
parent c95b3c31a6
commit 44e90e2adb
2 changed files with 32 additions and 41 deletions

View File

@ -1,7 +1,6 @@
DROP TABLE IF EXISTS `#__club_clubs`; CREATE TABLE IF NOT EXISTS `#__club_clubs` (
CREATE TABLE `#__club_clubs` ( `id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`id` int(10) NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL, `name` varchar(100) NOT NULL,
`address` tinytext NOT NULL, `address` tinytext NOT NULL,
`city` varchar(50) NOT NULL, `city` varchar(50) NOT NULL,
@ -10,49 +9,39 @@ CREATE TABLE `#__club_clubs` (
`iban` char(34) NOT NULL, `iban` char(34) NOT NULL,
`bic` char(11) NOT NULL, `bic` char(11) NOT NULL,
`charitable` tinyint(1) NOT NULL, `charitable` tinyint(1) NOT NULL,
`president` int(10) NOT NULL, `president` int(10) NOT NULL
PRIMARY KEY (`id`)
); );
DROP TABLE IF EXISTS `#__club_keys`; CREATE TABLE IF NOT EXISTS `#__club_keys` (
CREATE TABLE `#__club_keys` (
`privkey` text NOT NULL, `privkey` text NOT NULL,
`publickey` text NOT NULL `publickey` text NOT NULL
); );
DROP TABLE IF EXISTS `#__club_offer_assocs`; CREATE TABLE IF NOT EXISTS `#__club_offer_assocs` (
CREATE TABLE `#__club_offer_assocs` ( `id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`id` int(10) NOT NULL AUTO_INCREMENT,
`clubid` int(10) NOT NULL, `clubid` int(10) NOT NULL,
`offerid` int(10) NOT NULL, `offerid` int(10) NOT NULL
PRIMARY KEY (`id`)
); );
DROP TABLE IF EXISTS `#__club_offers`; CREATE TABLE IF NOT EXISTS `#__club_offers` (
CREATE TABLE `#__club_offers` ( `id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL
`name` varchar(100) NOT NULL,
PRIMARY KEY (`id`)
); );
DROP TABLE IF EXISTS `#__club_places`; CREATE TABLE IF NOT EXISTS `#__club_places` (
CREATE TABLE `#__club_places` ( `id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`id` int(10) NOT NULL AUTO_INCREMENT,
`clubid` int(10) NOT NULL, `clubid` int(10) NOT NULL,
`name` varchar(100) NOT NULL, `name` varchar(100) NOT NULL,
`address` tinytext NOT NULL, `address` tinytext NOT NULL,
`area` int(10) DEFAULT NULL, `area` int(10) DEFAULT NULL
PRIMARY KEY (`id`)
); );
DROP TABLE IF EXISTS `#__club_positions`; CREATE TABLE IF NOT EXISTS `#__club_positions` (
CREATE TABLE `#__club_positions` ( `id` int(10) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`id` int(10) NOT NULL AUTO_INCREMENT, `name` varchar(100) NOT NULL
`name` varchar(100) NOT NULL, );
PRIMARY KEY (`id`)
DROP TABLE IF EXISTS `#__club_user_assocs`; CREATE TABLE IF NOT EXISTS `#__club_user_assocs` (
CREATE TABLE `#__club_user_assocs` (
`id` int(10) NOT NULL AUTO_INCREMENT, `id` int(10) NOT NULL AUTO_INCREMENT,
`clubid` int(10) NOT NULL, `clubid` int(10) NOT NULL,
`userid` int(10) DEFAULT NULL, `userid` int(10) DEFAULT NULL,
@ -65,8 +54,7 @@ CREATE TABLE `#__club_user_assocs` (
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
); );
DROP TABLE IF EXISTS `#__club_users`; CREATE TABLE IF NOT EXISTS `#__club_users` (
CREATE TABLE `#__club_users` (
`id` int(10) NOT NULL AUTO_INCREMENT, `id` int(10) NOT NULL AUTO_INCREMENT,
`user` varchar(30) NOT NULL, `user` varchar(30) NOT NULL,
`password` varchar(150) DEFAULT NULL, `password` varchar(150) DEFAULT NULL,

View File

@ -5,8 +5,9 @@
type="component"> type="component">
<!-- SOLLTE, Der Annzeige-Name in Joomla --> <!-- SOLLTE, Der Annzeige-Name in Joomla -->
<name>SLT Vereinsmanagement</name> <name>Vereinsportal</name>
<title>Vereinsportal des saarländischen Tanzsportverbands</title> <title>Vereinsportal des saarländischen Tanzsportverbands</title>
<element>com_clubs</element>
<!--SOLLTE Erstellungsdatum --> <!--SOLLTE Erstellungsdatum -->
<creationDate>30.03.2019</creationDate> <creationDate>30.03.2019</creationDate>
@ -25,11 +26,13 @@
<!--<description>TPL_TEST_TEMPLATE_XML_DESCRIPTION</description>--> <!--<description>TPL_TEST_TEMPLATE_XML_DESCRIPTION</description>-->
<!-- MUSS, der Files-Tag bezeichnet den Block mit den Dateien und Ordnern die mit installiert werden --> <!-- MUSS, der Files-Tag bezeichnet den Block mit den Dateien und Ordnern die mit installiert werden -->
<files from='site'> <files folder='site'>
<filename>clubs.php</filename> <filename>clubs.php</filename>
<filename>controller.php</filename> <filename>controller.php</filename>
<folder>controller</folder> <folder>controllers</folder>
<folder>css</folder>
<folder>helpers</folder> <folder>helpers</folder>
<folder>js</folder>
<folder>models</folder> <folder>models</folder>
<folder>views</folder> <folder>views</folder>
</files> </files>
@ -46,12 +49,12 @@
<menu>Vereinsmanagement</menu> <menu>Vereinsmanagement</menu>
<submenu> <submenu>
<!-- <menu link='link' view='v'>Test</menu> --> <!-- <menu link='link' view='v'>Test</menu> -->
<menu link='index.php?option=com_clubs&view=clubs'>Vereine</menu> <menu link='option=com_clubs&amp;view=clubs'>Vereine</menu>
<menu link='index.php?option=com_clubs&view=users'>Personen</menu> <menu link='option=com_clubs&amp;view=users'>Personen</menu>
<menu link='index.php?option=com_clubs&view=positions'>Posten</menu> <menu link='option=com_clubs&amp;view=positions'>Posten</menu>
<menu link='index.php?option=com_clubs&view=offers'>Trainingsangebote</menu> <menu link='option=com_clubs&amp;view=offers'>Trainingsangebote</menu>
</submenu> </submenu>
<files from='admin'> <files folder='admin'>
<folder>abstract</folder> <folder>abstract</folder>
<folder>common</folder> <folder>common</folder>
<folder>controllers</folder> <folder>controllers</folder>
@ -65,12 +68,12 @@
<install> <install>
<sql> <sql>
<file driver='mysql'>sql/mysql/install.sql</file> <file driver='mysql' charset='utf8'>sql/mysql/install.sql</file>
</sql> </sql>
</install> </install>
<uninstall> <uninstall>
<sql> <sql>
<file driver='mysql'>sql/mysql/uninstall.sql</file> <file driver='mysql' charset='utf8'>sql/mysql/uninstall.sql</file>
</sql> </sql>
</uninstall> </uninstall>
<update> <update>