Feature #75205

Extension Development, ext_tables.sql "CREATE TABLE IF NOT EXISTS"

Added by Alex Nostadt over 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2016-03-21
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.6
Tags:
Complexity:
Sprint Focus:

Description

When using "CREATE TABLE IF NOT EXISTS" in ext_tables.sql is not created, whereas when using "CREATE TABLE" without "IF NOT EXISTS" the table is created.

I have tested it with TYPO3 v7.6.2.

I faced the issue because I have build an ERD using MySQL Workbench which generates create table statements including the "IF NOT EXISTS" option.


Related issues

Related to TYPO3 Core - Feature #77643: Reimplement SqlSchemaMigrationService using SchemaManagerClosedMorton Jonuschat2016-08-25

Actions
#1

Updated by Alex Nostadt over 6 years ago

PS: I hope "Extbase" is the category to choose. Otherwise correct me and I'll change that.

#2

Updated by Wouter Wolters over 6 years ago

  • Category changed from Extbase to Database API (Doctrine DBAL)
#3

Updated by Riccardo De Contardi about 6 years ago

  • Tracker changed from Bug to Feature
#4

Updated by Gerrit Code Review almost 6 years ago

  • Status changed from New to Under Review

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#5

Updated by Gerrit Code Review almost 6 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#6

Updated by Gerrit Code Review almost 6 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#7

Updated by Gerrit Code Review almost 6 years ago

Patch set 15 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/49593

#8

Updated by Morton Jonuschat almost 6 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#9

Updated by Benni Mack almost 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF