@arcmantle/sqlite-wrapper
    Preparing search index...

    Function dropColumn

    • Drops a column from an SQLite table. Since SQLite doesn't support DROP COLUMN directly, this function recreates the table without the specified column by:

      1. Creating a new table with the modified schema
      2. Copying data from the original table (excluding the dropped column)
      3. Dropping the original table
      4. Renaming the new table to the original name

      The operation is performed within a transaction with foreign keys temporarily disabled.

      Parameters

      • db: Database
      • table: string
      • column: string

      Returns void