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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes the migration of sqlite databases #12721

Merged
merged 1 commit into from
Mar 24, 2023

Conversation

marcusmoore
Copy link
Collaborator

Description

Although we don't officially support sqlite the app can (mostly?) run just fine on it. There are two migrations that sqlite doesn't like and throws exceptions for:

  • General error: 1 Cannot add a PRIMARY KEY column (SQL: alter table "password_resets" add column "id" integer not null primary key autoincrement)
  • SQLite doesn't support multiple calls to dropColumn / renameColumn in a single modification.

This paves the way for running local tests faster 馃槃

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

@what-the-diff
Copy link

what-the-diff bot commented Mar 24, 2023

PR Summary

  • Added Id Column to Password Resets Table This update includes a new Id column to help manage password resets more efficiently.
  • Webhook Option and Renamed Columns in Settings Table Now using a more generic webhook option for increased compatibility, along with updated column names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants