Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team B's Pull Request #4

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Team B's Pull Request #4

wants to merge 15 commits into from

Conversation

clockvoid
Copy link

No description provided.

@dkkoma
Copy link
Contributor

dkkoma commented Sep 16, 2018

FYI
MySQLのバージョンが違うけど

https://dev.mysql.com/doc/refman/5.6/ja/data-type-defaults.html

データ型仕様の DEFAULT value 句は、カラムのデフォルト値を示しています。例外が 1 つあります。デフォルト値は定数である必要があるので、関数または式にはできません。これは、たとえば日付カラムのデフォルト値に NOW() や CURRENT_DATE などの関数の値を設定できないことを意味します。例外では、CURRENT_TIMESTAMP を、TIMESTAMP および DATETIME カラムのデフォルトとして指定できます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants