Changeset 51 for trunk/SQL/Update.php


Ignore:
Timestamp:
Jan 2, 2020, 12:34:24 AM (5 years ago)
Author:
chronos
Message:
  • Added: New section Events to import dance events from various dance clubs and dance schools.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SQL/Update.php

    r48 r51  
    5656ALTER TABLE `MeetItem`
    5757  ADD COLUMN `Hidden` INT NULL DEFAULT '0' AFTER `RemoteId`;
     58
     59-- rev 51
     60CREATE 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
     77CREATE 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.