Project

General

Profile

Actions

Bug #67445

closed

ALTER TABLE ADD KEY / DROP KEY unsupported

Added by Morton Jonuschat over 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2015-06-14
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Using DBAL it is currently not possible to add or drop indexes. Only a partial/invalid query is generated from the MySQL Statement in the SQL Parser.

Input:

ALTER TABLE pages ADD KEY determineSiteRoot (is_siteroot);

Statement generated by SQL Parser:

 (is_siteroot)

Environment: TYPO3 7.3-dev@master
Database: PostgreSQL 9.4


Related issues 1 (0 open1 closed)

Blocks TYPO3 Core - Feature #67301: Don't suggest database alterations for functionally equivalent field types with DBALClosedMorton Jonuschat2015-06-05

Actions
Actions

Also available in: Atom PDF