src/allographer/v1/schema_builder/queries/sqlite/change_column

    Dark Mode
Search:
Group by:

Procs

proc changeColumn(self: SqliteSchema; isReset: bool) {.
    ...raises: [DbError, ValueError, Exception, OSError, KeyError, RegexError], tags: [
    RootEffect, TimeEffect, WriteDirEffect, ReadDirEffect, ReadIOEffect,
    WriteIOEffect, ReadDbEffect].}
  • 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