Skip to content
Snippets Groups Projects
Commit 393a1787 authored by Michiel Roos's avatar Michiel Roos Committed by Markus Klein
Browse files

[BUGFIX] Scheduler extension sql file is invalid

On import into MySQL an error is thrown and MySQL
refuses to create the table:

ERROR 1067 (42000) at line 4: Invalid default value for 'uid'

This is due to the fact that a default value is being set
for an auto_increment field.

Change-Id: Ic072d3ec21b4e8adbecf9ff88e6ac4a2919959ec
Resolves: #53750
Releases: 4.5, 4.7, 6.0, 6.1, 6.2
Reviewed-on: https://review.typo3.org/25502
Reviewed-by: Stefan Froemken
Tested-by: Stefan Froemken
Reviewed-by: Markus Klein
Tested-by: Markus Klein
parent e316f7cd
No related merge requests found
......@@ -2,7 +2,7 @@
# Table structure for table 'tx_scheduler_task'
#
CREATE TABLE tx_scheduler_task (
uid int(11) unsigned DEFAULT '0' NOT NULL auto_increment,
uid int(11) unsigned NOT NULL auto_increment,
crdate int(11) unsigned DEFAULT '0' NOT NULL,
disable tinyint(4) unsigned DEFAULT '0' NOT NULL,
description text NOT NULL,
......@@ -34,4 +34,4 @@ CREATE TABLE tx_scheduler_task_group (
PRIMARY KEY (uid),
KEY parent (pid)
);
\ No newline at end of file
);
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment