Skip to content

renameColumn on SQLite destroys indexes #3466

Closed

Description

@dantman

Using renameColumn in a migration appears to resul in all indexes on the table being destroyed.

Activity

  1. mickhansen commented on Apr 6, 2015

    @mickhansen
    Contributor

    @dantman Schema changes in sqlite are done by completely recreating the table, i guess that we don't currently take indexes into account.

  2. added
    type: bug
    dialect: sqlite
    on Apr 6, 2015
  3. sushantdhiman commented on Nov 30, 2016

    @sushantdhiman
    Contributor

    Duplicate #6205 (with better example)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    dialect: sqlitetype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions