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

Create table error #6

Open
BMO-tech opened this issue Mar 8, 2018 · 0 comments
Open

Create table error #6

BMO-tech opened this issue Mar 8, 2018 · 0 comments

Comments

@BMO-tech
Copy link
Contributor

BMO-tech commented Mar 8, 2018

"WAR\\Data\\WarDB: Invalid default value for 'created_on' QUERY: CREATE TABLE IF NOT EXISTS wp_data_clicks (`id` MEDIUMINT NOT NULL AUTO_INCREMENT, `created_on` datetime DEFAULT CURRENT_TIMESTAMP, `updated_on` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `url` VARCHAR(150), `post` VARCHAR(150), KEY(`id`) )"

Issue is potentially related to strict mode in mysql <=5.6 NO_ZERO_DATE checks

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

No branches or pull requests

1 participant