- Timestamp:
- Jan 2, 2020, 12:34:24 AM (5 years ago)
- Location:
- trunk/SQL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SQL/Structure.sql
r50 r51 44 44 PRIMARY KEY (`Id`) 45 45 ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; 46 47 -- Export dat nebyl vybrán. 48 49 -- Exportování struktury pro tabulka tanec.Event 50 CREATE TABLE IF NOT EXISTS `Event` ( 51 `Id` int(11) NOT NULL AUTO_INCREMENT, 52 `TimeFrom` datetime DEFAULT NULL, 53 `TimeTo` datetime DEFAULT NULL, 54 `Source` int(11) DEFAULT NULL, 55 `Link` varchar(255) DEFAULT NULL, 56 `Hidden` int(11) DEFAULT 0, 57 `Description` text DEFAULT NULL, 58 `Title` varchar(255) DEFAULT NULL, 59 `Price` int(11) DEFAULT NULL, 60 `Location` varchar(255) DEFAULT NULL, 61 `TimeImport` datetime DEFAULT NULL, 62 `RemoteId` varchar(255) DEFAULT NULL, 63 PRIMARY KEY (`Id`), 64 KEY `Source` (`Source`) 65 ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4; 66 67 -- Export dat nebyl vybrán. 68 69 -- Exportování struktury pro tabulka tanec.EventSource 70 CREATE TABLE IF NOT EXISTS `EventSource` ( 71 `Id` int(11) NOT NULL AUTO_INCREMENT, 72 `Name` varchar(255) DEFAULT NULL, 73 `Method` varchar(255) DEFAULT NULL, 74 `URL` varchar(255) DEFAULT NULL, 75 PRIMARY KEY (`Id`) 76 ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4; 46 77 47 78 -- Export dat nebyl vybrán. -
trunk/SQL/Update.php
r48 r51 56 56 ALTER TABLE `MeetItem` 57 57 ADD COLUMN `Hidden` INT NULL DEFAULT '0' AFTER `RemoteId`; 58 59 -- rev 51 60 CREATE TABLE IF NOT EXISTS `Event` ( 61 `Id` int(11) NOT NULL AUTO_INCREMENT, 62 `TimeFrom` datetime DEFAULT NULL, 63 `TimeTo` datetime DEFAULT NULL, 64 `Source` int(11) DEFAULT NULL, 65 `Link` varchar(255) DEFAULT NULL, 66 `Hidden` int(11) DEFAULT 0, 67 `Description` text DEFAULT NULL, 68 `Title` varchar(255) DEFAULT NULL, 69 `Price` int(11) DEFAULT NULL, 70 `Location` varchar(255) DEFAULT NULL, 71 `TimeImport` datetime DEFAULT NULL, 72 `RemoteId` varchar(255) DEFAULT NULL, 73 PRIMARY KEY (`Id`), 74 KEY `Source` (`Source`) 75 ) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4; 76 77 CREATE TABLE IF NOT EXISTS `EventSource` ( 78 `Id` int(11) NOT NULL AUTO_INCREMENT, 79 `Name` varchar(255) DEFAULT NULL, 80 `Method` varchar(255) DEFAULT NULL, 81 `URL` varchar(255) DEFAULT NULL, 82 PRIMARY KEY (`Id`) 83 ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4;
Note:
See TracChangeset
for help on using the changeset viewer.