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

1.0.4 causes a problem with MariaDB #13

Open
pankaramp opened this issue Jul 5, 2017 · 1 comment
Open

1.0.4 causes a problem with MariaDB #13

pankaramp opened this issue Jul 5, 2017 · 1 comment

Comments

@pankaramp
Copy link

pankaramp commented Jul 5, 2017

Using serversession-backend-persistent 1.0.4 under Yesod 1.4.4 with MariaDB 10.1.23 gives the following error when running automatic migrations:

Starting devel application
Migrating: ALTER TABLE `persistent_session` ALTER COLUMN `auth_id` SET DEFAULT NULL
05/Jul/2017:17:16:50 +0300 [Debug#SQL] ALTER TABLE `persistent_session` ALTER COLUMN `auth_id` SET DEFAULT NULL; []
devel.hs: ConnectionError {errFunction = "query", errNumber = 1101, errMessage = "BLOB/TEXT column 'auth_id' can't have a default value"}
Unexpected: child process exited with ExitFailure 1

Reverting to 1.0.3 fixes this.

@MichaelXavier
Copy link
Collaborator

@sbditto85 Any ideas here? I don't use either mysql or mariadb for anything.

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

2 participants