Bug #36557 alias for column definition TS O_U_C_TS NOT NULL DEFAULT C_TS

Submitted: 7 May 2008 10:15 Modified: 7 May 2008 11:25
Reporter: Sebastian Mendel (Basic Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: DDL Severity:S4 (Feature request)
Version: OS:Any
Assigned to: CPU Architecture:Any

[7 May 2008 10:15] Sebastian Mendel
Description:
it would be nice to have an alias for

TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP

like SERIAL

f. e. ALTERATIONTIME

How to repeat:
ALTER TABLE ADD `ts` TIMESTAMP ON UPDATE CURRENT_TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP

Suggested fix:
ALTER TABLE ADD `ts` ALTERATIONTIME
[7 May 2008 11:25] MySQL Verification Team
Thank you for the bug report.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.058 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.