Skip to content

Migration error on newsletter when upgrading past v4.46.0 [MariaDB] #14634

Description

@Kerumen

Issue Summary

When I tried to upgrade my Ghost from v4.44.0 to v4.46.0 I got this error message upon launch:

Message: Ghost was able to start, but errored during boot with: alter table newsletters modify created_at datetime null default 'NULL' - Invalid default value for 'created_at'

I must add, my newsletters table has no data:

Screenshot 2022-04-30 at 13 15 12

Steps to Reproduce

  1. Upgrade Ghost to v4.46.0
  2. Launch Ghost

Ghost Version

v4.44.0

Node.js Version

v14.18

How did you install Ghost?

Local install on Linux server

Database type

Other

Browser & OS version

No response

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug[triage] something behaving unexpectedlyhelp wanted[triage] Ideal issues for contributors to help with

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions