Project

General

Profile

Actions

Bug #66929

closed

Cannot parse default date

Added by Xavier Perseguers over 9 years ago. Updated about 7 years ago.

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

100%

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

Description

#1310027793: ERROR: Query could not be parsed: "SQL engine parse ERROR: Field type unknown in parseFieldDef()!: near "date default '0000-00-00' "". Query: "ALTER TABLE fe_users ADD birthday date default '0000-00-00';"

When installing an extension having ext_tables.sql:

#
# Table structure for table 'fe_users'
#
CREATE TABLE fe_users (
    birthday date DEFAULT '0000-00-00',
    subscribed_courses int(11) unsigned DEFAULT '0' NOT NULL,
    tx_extbase_type varchar(255) DEFAULT '' NOT NULL,
);

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #38974: Add support for native date/time fieldsClosed2012-07-16

Actions
Actions

Also available in: Atom PDF