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

Switch schema for bool from boolean to tinyint #86

Closed
wants to merge 1 commit into from

Conversation

thittesdorf
Copy link

@thittesdorf thittesdorf commented Sep 11, 2022

Change schema for schema.Bool from boolean to tinyint to prevent schema refresh on each startup.
Example
Datatype: Enabled *bool
Executes: ALTER TABLE objects MODIFY COLUMN enabled boolean
On column: | objects | tinyint(1) | YES | | NULL | |

@jinzhu
Copy link
Member

jinzhu commented Oct 7, 2022

After this pr merged, the problem should be fixed. #90

Sorry for the problem.

@jinzhu jinzhu closed this Oct 7, 2022
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.

None yet

2 participants