src/allographer/schema_builder/queries/sqlite/drop_column

Search:
Group by:

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