src/dialects/sqlite3/schema/ddl.js
function SQLite3_DDL(client, tableCompiler, pragma, connection) {
  this.client = client;
  this.tableCompiler = tableCompiler;
  this.pragma = pragma;
  this.tableNameRaw = this.tableCompiler.tableNameRaw;
  this.alteredName = uniqueId('_knex_temp_alter');
  this.connection = connection;
  this.formatter =
    client && client.config && client.config.wrapIdentifier
      ? client.config.wrapIdentifier
      : (value) => value;
}
function SQLite3_DDL(client, tableCompiler, pragma, connection) {
  this.client = client;
  this.tableCompiler = tableCompiler;
  this.pragma = pragma;
  this.tableNameRaw = this.tableCompiler.tableNameRaw;
  this.alteredName = uniqueId('_knex_temp_alter');
  this.connection = connection;
  this.formatter =
    client && client.config && client.config.wrapIdentifier
      ? client.config.wrapIdentifier
      : (value) => value;
}
function SQLite3_DDL ( client , tableCompiler , pragma , connection ) { this . client = client ; this . tableCompiler = tableCompiler ; this . pragma = pragma ; this . tableNameRaw = this . tableCompiler . tableNameRaw ; this . alteredName = uniqueId ( '_knex_temp_alter' ) ; this . connection = connection ; this . formatter = client && client . config && client . config . wrapIdentifier ? client . config . wrapIdentifier : ( value ) => value ; }
So altering the schema in SQLite3 is a major pain. We have our own object to deal with the renaming and altering the types for sqlite3 things.
So altering the schema in SQLite3 is a major pain . We have our own object to deal with the renaming and altering the types for sqlite3 things .