hi,
ich möchte in "SugarCRM" ein Modul namens "CalendarNotes" einbauen. Bei der installation entsteht allerdings folgender Fehler:
Code:
Error creating table: CalendarNotes: Query Failed:CREATE TABLE CalendarNotes (id char(36) NOT NULL ,date_entered datetime NOT NULL ,date_modified datetime NOT NULL ,assigned_user_id char(36) NULL ,created_by char(36) NULL ,modified_user_id char(36) NOT NULL ,deleted bool DEFAULT 0 NOT NULL ,type varchar(25) NULL ,date_start date NOT NULL ,date_end date NOT NULL ,name varchar(150) NULL ,date_selection varchar(10) NULL ,duration int DEFAULT '1' NULL ,repeat varchar(5) DEFAULT 'none' NULL ,repeat_times int DEFAULT '1' NULL ,repeat_weekday varchar(4) DEFAULT 'non' NULL ,repeat_monthday int DEFAULT '1' NULL ,repeat_month int DEFAULT '1' NULL , PRIMARY KEY (id)) CHARACTER SET utf8 COLLATE utf8_general_ci::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat varchar(5) DEFAULT 'none' NULL ,repeat_times int DEFAULT '1' NULL ,repe' at line 1
Da ich mich leider mit mySQL nicht auskenne hoffe ich das ihr mir verraten könnt wie das ganze richtig heißen müsste damit ich versuchen kann das ganze zu fixen.
CREATE TABLE CalendarNotes (
id char(36) NOT NULL,
date_entered datetime NOT NULL ,
date_modified datetime NOT NULL ,
assigned_user_id char(36),
created_by char(36),
modified_user_id char(36) NOT NULL ,
deleted bool DEFAULT 0 NOT NULL ,
type varchar(25),
date_start date NOT NULL ,
date_end date NOT NULL ,
name varchar(150),
date_selection varchar(10),
duration int DEFAULT 1,
repeat varchar(5) DEFAULT 'none',
repeat_times int DEFAULT 1,
repeat_weekday varchar(4) DEFAULT 'non',
repeat_monthday int DEFAULT 1,
repeat_month int DEFAULT 1,
PRIMARY KEY (id))