Project

General

Profile

Actions

Feature #75205

closed

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

Added by Alex Nostadt about 8 years ago. Updated over 5 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 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Alex Nostadt about 8 years ago

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

Actions #2

Updated by Wouter Wolters about 8 years ago

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

Updated by Riccardo De Contardi almost 8 years ago

  • Tracker changed from Bug to Feature
Actions #4

Updated by Gerrit Code Review over 7 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

Actions #5

Updated by Gerrit Code Review over 7 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

Actions #6

Updated by Gerrit Code Review over 7 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

Actions #7

Updated by Gerrit Code Review over 7 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

Actions #8

Updated by Morton Jonuschat over 7 years ago

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

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF