# src/allographer/schema_builder/queries/sqlite/drop_column

Theme:

- Index

Search:
Group by:

# Imports

../../../query_builder/models/sqlite/sqlite_query, ../../../query_builder/models/sqlite/sqlite_exec, ../../models/table, ../../models/column, schema_utils, sqlite_query_type

# Procs

    proc dropColumn(self: SqliteSchema; isReset: bool) {....raises: [ValueError,
        Exception, OSError, IOError, DbError, KeyError, RegexError, CatchableError], tags: [
        TimeEffect, RootEffect, WriteDirEffect, ReadDirEffect, ReadIOEffect,
        WriteIOEffect, ReadDbEffect], forbids: [].}

  - create tmp table with new column difinition
  - copy data from old table to tmp table
  - delete old table
  - rename tmp table name to old table name