Skip to content

Commit

Permalink
[BUGFIX] Adjust table field type to varchar
Browse files Browse the repository at this point in the history
In order to create workspace stage records, the parenttable field
must not be a tinytext, else the not null restriction fails on
SQlite.

Change-Id: I38cb8fca0eb293100ab7d73433cc284307eb1d0d
Resolves: #85405
Releases: master
Reviewed-on: https://review.typo3.org/58210
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Jan Helke <typo3@helke.de>
Tested-by: Jan Helke <typo3@helke.de>
Reviewed-by: Richard Haeser <richard@maxserv.com>
Reviewed-by: rolandgolla <rolandgolla@gmail.com>
Tested-by: rolandgolla <rolandgolla@gmail.com>
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
  • Loading branch information
maddy2101 authored and susannemoog committed Sep 7, 2018
1 parent da103e8 commit 17250d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typo3/sysext/workspaces/ext_tables.sql
Expand Up @@ -48,7 +48,7 @@ CREATE TABLE sys_workspace_stage (
responsible_persons varchar(255) DEFAULT '' NOT NULL,
default_mailcomment text,
parentid int(11) DEFAULT '0' NOT NULL,
parenttable tinytext NOT NULL,
parenttable varchar(255) DEFAULT '' NOT NULL,
notification_defaults varchar(255) DEFAULT '' NOT NULL,
allow_notificaton_settings tinyint(3) DEFAULT '0' NOT NULL,
notification_preselection tinyint(3) DEFAULT '8' NOT NULL
Expand Down

0 comments on commit 17250d8

Please sign in to comment.