Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
7c669a3d
Commit
7c669a3d
authored
4 years ago
by
Carsten Rose
Browse files
Options
Downloads
Patches
Plain Diff
Refs #11118 : Add table structure to formEditor.sql and DatabaseUpdateData.php.
parent
e1f10e56
No related branches found
Branches containing commit
No related tags found
Tags containing commit
4 merge requests
!286
Master
,
!284
F11119 rest get post call via report
,
!283
F11118 variable random uniq
,
!282
F11118 variable random uniq
Pipeline
#3767
failed
4 years ago
Stage: before
Stage: build
Stage: selenium
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extension/Classes/Core/Database/DatabaseUpdateData.php
+3
-1
3 additions, 1 deletion
extension/Classes/Core/Database/DatabaseUpdateData.php
extension/Classes/Sql/formEditor.sql
+47
-33
47 additions, 33 deletions
extension/Classes/Sql/formEditor.sql
with
50 additions
and
34 deletions
extension/Classes/Core/Database/DatabaseUpdateData.php
+
3
−
1
View file @
7c669a3d
...
...
@@ -194,7 +194,9 @@ $UPDATE_ARRAY = array(
"ALTER TABLE `FormElement` CHANGE `label` `label` VARCHAR(1023) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';"
,
],
'20.9.0'
=>
[
"CREATE TABLE `Uniq` (`id` int(11) NOT NULL AUTO_INCREMENT, `random` char(32) NOT NULL, `expire` datetime NOT NULL, `modified` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (`id`), UNIQUE KEY `random` (`random`) USING BTREE, KEY `expire` (`id`) ) ENGINE = InnoDB DEFAULT CHARSET = utf8mb4;);"
,
],
);
...
...
This diff is collapsed.
Click to expand it.
extension/Classes/Sql/formEditor.sql
+
47
−
33
View file @
7c669a3d
...
...
@@ -57,44 +57,44 @@ CREATE TABLE IF NOT EXISTS `Form`
CREATE
TABLE
IF
NOT
EXISTS
`FormElement`
(
`id`
INT
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`formId`
INT
(
11
)
NOT
NULL
,
`feIdContainer`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
,
`dynamicUpdate`
ENUM
(
'yes'
,
'no'
)
NOT
NULL
DEFAULT
'no'
,
`id`
INT
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`formId`
INT
(
11
)
NOT
NULL
,
`feIdContainer`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
,
`dynamicUpdate`
ENUM
(
'yes'
,
'no'
)
NOT
NULL
DEFAULT
'no'
,
`enabled`
ENUM
(
'yes'
,
'no'
)
NOT
NULL
DEFAULT
'yes'
,
`enabled`
ENUM
(
'yes'
,
'no'
)
NOT
NULL
DEFAULT
'yes'
,
`name`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`label`
VARCHAR
(
1023
)
NOT
NULL
DEFAULT
''
,
`name`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`label`
VARCHAR
(
1023
)
NOT
NULL
DEFAULT
''
,
`mode`
ENUM
(
'show'
,
'required'
,
'readonly'
,
'hidden'
)
NOT
NULL
DEFAULT
'show'
,
`modeSql`
TEXT
NOT
NULL
,
`class`
ENUM
(
'native'
,
'action'
,
'container'
)
NOT
NULL
DEFAULT
'native'
,
`type`
ENUM
(
'checkbox'
,
'date'
,
'datetime'
,
'dateJQW'
,
'datetimeJQW'
,
'extra'
,
`mode`
ENUM
(
'show'
,
'required'
,
'readonly'
,
'hidden'
)
NOT
NULL
DEFAULT
'show'
,
`modeSql`
TEXT
NOT
NULL
,
`class`
ENUM
(
'native'
,
'action'
,
'container'
)
NOT
NULL
DEFAULT
'native'
,
`type`
ENUM
(
'checkbox'
,
'date'
,
'datetime'
,
'dateJQW'
,
'datetimeJQW'
,
'extra'
,
'gridJQW'
,
'text'
,
'editor'
,
'annotate'
,
'time'
,
'note'
,
'password'
,
'radio'
,
'select'
,
'subrecord'
,
'upload'
,
'imageCut'
,
'fieldset'
,
'pill'
,
'templateGroup'
,
'beforeLoad'
,
'beforeSave'
,
'beforeInsert'
,
'beforeUpdate'
,
'beforeDelete'
,
'afterLoad'
,
'afterSave'
,
'afterInsert'
,
'afterUpdate'
,
'afterDelete'
,
'sendMail'
,
'paste'
)
NOT
NULL
DEFAULT
'text'
,
`subrecordOption`
SET
(
'edit'
,
'delete'
,
'new'
)
NOT
NULL
DEFAULT
''
,
`encode`
ENUM
(
'none'
,
'specialchar'
)
NOT
NULL
DEFAULT
'specialchar'
,
`checkType`
ENUM
(
'auto'
,
'alnumx'
,
'digit'
,
'numerical'
,
'email'
,
'pattern'
,
'allbut'
,
'all'
)
NOT
NULL
DEFAULT
'auto'
,
`checkPattern`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`onChange`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`ord`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
,
`tabindex`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
,
`size`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`maxLength`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`labelAlign`
ENUM
(
'default'
,
'left'
,
'center'
,
'right'
)
NOT
NULL
DEFAULT
'default'
,
`bsLabelColumns`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`bsInputColumns`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`bsNoteColumns`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`rowLabelInputNote`
SET
(
'row'
,
'label'
,
'/label'
,
'input'
,
'/input'
,
'note'
,
'/note'
,
'/row'
)
NOT
NULL
DEFAULT
'row,label,/label,input,/input,note,/note,/row'
,
`note`
TEXT
NOT
NULL
,
`adminNote`
TEXT
NOT
NULL
,
'afterInsert'
,
'afterUpdate'
,
'afterDelete'
,
'sendMail'
,
'paste'
)
NOT
NULL
DEFAULT
'text'
,
`subrecordOption`
SET
(
'edit'
,
'delete'
,
'new'
)
NOT
NULL
DEFAULT
''
,
`encode`
ENUM
(
'none'
,
'specialchar'
)
NOT
NULL
DEFAULT
'specialchar'
,
`checkType`
ENUM
(
'auto'
,
'alnumx'
,
'digit'
,
'numerical'
,
'email'
,
'pattern'
,
'allbut'
,
'all'
)
NOT
NULL
DEFAULT
'auto'
,
`checkPattern`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`onChange`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`ord`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
,
`tabindex`
INT
(
11
)
NOT
NULL
DEFAULT
'0'
,
`size`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`maxLength`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`labelAlign`
ENUM
(
'default'
,
'left'
,
'center'
,
'right'
)
NOT
NULL
DEFAULT
'default'
,
`bsLabelColumns`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`bsInputColumns`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`bsNoteColumns`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`rowLabelInputNote`
SET
(
'row'
,
'label'
,
'/label'
,
'input'
,
'/input'
,
'note'
,
'/note'
,
'/row'
)
NOT
NULL
DEFAULT
'row,label,/label,input,/input,note,/note,/row'
,
`note`
TEXT
NOT
NULL
,
`adminNote`
TEXT
NOT
NULL
,
`tooltip`
VARCHAR
(
255
)
NOT
NULL
DEFAULT
''
,
`placeholder`
VARCHAR
(
2048
)
NOT
NULL
DEFAULT
''
,
...
...
@@ -679,4 +679,18 @@ CREATE TABLE IF NOT EXISTS `Setting`
KEY
`name`
(
`name`
),
KEY
`typeFeUserUidTableIdPublic`
(
`type`
,
`feUser`
,
`tableId`
,
`public`
)
USING
BTREE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
\ No newline at end of file
DEFAULT
CHARSET
=
utf8mb4
;
CREATE
TABLE
`Uniq`
(
`id`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
`random`
char
(
32
)
NOT
NULL
,
`expire`
datetime
NOT
NULL
,
`modified`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
ON
UPDATE
CURRENT_TIMESTAMP
,
`created`
datetime
NOT
NULL
DEFAULT
CURRENT_TIMESTAMP
,
PRIMARY
KEY
(
`id`
),
UNIQUE
KEY
`random`
(
`random`
)
USING
BTREE
,
KEY
`expire`
(
`id`
)
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8mb4
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment