Ticket T389763
Visible to All Users

How to generate Scheduler tables in the MySQL database

created 9 years ago

Can you convert it to Mysql Syntax. Thank you in advance.

Answers approved by DevExpress Support

created 9 years ago (modified 9 years ago)

Hello,
Here are scripts to create tables for appointments and resources in MySQL:

SQL
CREATE TABLE `appointments` ( `ID` int(11) NOT NULL AUTO_INCREMENT, `Type` int(11) DEFAULT NULL, `StartDate` datetime DEFAULT NULL, `EndDate` datetime DEFAULT NULL, `AllDay` tinyint(1) DEFAULT NULL, `Subject` varchar(2000) DEFAULT NULL, `Location` varchar(2000) DEFAULT NULL, `Description` varchar(2000) DEFAULT NULL, `Status` int(11) DEFAULT NULL, `Label` int(11) DEFAULT NULL, `ResourceId` int(11) DEFAULT NULL, `ResourceIds` varchar(2000) DEFAULT NULL, `ReminderInfo` varchar(2000) DEFAULT NULL, `RecurrenceInfo` varchar(2000) DEFAULT NULL, PRIMARY KEY (`ID`), UNIQUE KEY `ID_UNIQUE` (`ID`) ) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
SQL
CREATE TABLE `resources` ( `ID` int(11) NOT NULL, `Description` varchar(2000) DEFAULT NULL, `Color` int(11) DEFAULT NULL, PRIMARY KEY (`ID`), UNIQUE KEY `ID_UNIQUE` (`ID`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

Should you have further questions, let me know.

    Show previous comments (1)
    Sasha (DevExpress Support) 5 years ago

      Hello John,

      I see that you created the How to generate Scheduler tables in MySQL database C# thread with your question. We will address it as soon as possible.

        i want to use mysql database too. a simple guide to create mysql db and connect it. Can someone share it?

        Sasha (DevExpress Support) 4 years ago

          Hi,

          To avoid mixing multiple questions in one thread, I've created a separate ticket on your behalf: How to create a MySQL database and connect to it. I will address it shortly.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.