]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Docuemnt current workarounds for MySQL TIMESTAMP
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Jun 2020 18:35:22 +0000 (14:35 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 29 Jun 2020 18:57:31 +0000 (14:57 -0400)
commita2c2dcaf082ecf97c7e06cd23adf5a614b5a4a2b
treeb01c2bdc18338ed47263d941f089db5d5181ef97
parent5f5b56d646f154ee572c9de80449423304103bad
Docuemnt current workarounds for MySQL TIMESTAMP

MySQL 8 no longer generates the DEFAULT or ON UPDATE
clauses for TIMESTAMP by default, hence users will begin to hit
this regularly.  add warnings that this non-standard SQL is not
accommodated by server_onupdate and docuemnt the workaround
used in issues such as #4652.

Fixes: #5427
Change-Id: Ie048dcc91c648dd0b80ed395208c1d665b6c968b
doc/build/core/defaults.rst
lib/sqlalchemy/dialects/mysql/base.py
lib/sqlalchemy/sql/schema.py