Skip to content

1.0.4 causes a problem with MariaDB #13

@pankaramp

Description

@pankaramp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions