Skip to content

change rules for SQLIte batch alter_column for special cases #883

@zzzeek

Description

@zzzeek

Discussed in #882

According to this SQLite's official document, "add column" with a primary key or unique key constraint, or having some kinds of server default needs the recreate style:

https://www.sqlite.org/lang_altertable.html#alter_table_add_column

code here we are changing is in sqlite.py

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions