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

WebHooks migration - working fine in MySQL 5.5 but not in 5.7 #2334

Closed
rowasc opened this Issue Dec 1, 2017 · 2 comments

Comments

Projects
None yet
2 participants
@rowasc
Contributor

rowasc commented Dec 1, 2017

Expected behaviour

Webhooks table has updated and created field as NULL with default 0, as defined in the migration CreateWebhookTable
created int(11) NO 0
updated int(11) NO 0

Actual behaviour

Webhooks table has updated and created field as NOT NULL.

created int(11) NOT NULL DEFAULT '0',
updated int(11) NOT NULL DEFAULT '0',

Steps to reproduce the behaviour/error

Where
@rowasc

This comment has been minimized.

Show comment
Hide comment
@rowasc
Contributor

rowasc commented Dec 1, 2017

tuxpiper added a commit that referenced this issue Dec 2, 2017

@tuxpiper

This comment has been minimized.

Show comment
Hide comment
@tuxpiper

tuxpiper Dec 2, 2017

Member

@rowasc apparently, it was simple typo, added an additional migration to correct

Member

tuxpiper commented Dec 2, 2017

@rowasc apparently, it was simple typo, added an additional migration to correct

rjmackay added a commit that referenced this issue Jan 21, 2018

Merge pull request #2335 from ushahidi/2334-allow-null-webhooks-updated
fixes #2334 adding migration on webhooks.updated column
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment