Table curTable = currentModel.findTable(change.getChangedTable().getName(), getPlatform().isDelimitedIdentifierModeOn());  if (!change.isAtEnd()) { Column prevColumn = change.getPreviousColumn();  if (prevColumn != null) {  prevColumn = curTable.findColumn(prevColumn.getName(), getPlatform().isDelimitedIdentifierModeOn()); }  print("ALTER TABLE "); printlnIdentifier(getTableName(change.getChangedTable())); printIndent(); print("ALTER "); printIdentifier(getColumnName(change.getNewColumn())); print(" POSITION ");  print(prevColumn == null ? "1" : String.valueOf(curTable.getColumnIndex(prevColumn) + 2)); printEndOfStatement(); } if (change.getNewColumn().isAutoIncrement()) { writeAutoIncrementCreateStmts(currentModel, curTable, change.getNewColumn()); }
    protected void processChange(Database               currentModel,                                 Database               desiredModel,                                 RemovePrimaryKeyChange change) throws IOException    {        print("ALTER TABLE ");        printlnIdentifier(getTableName(change.getChangedTable()));        printIndent();        print("DROP PRIMARY KEY");        printEndOfStatement();    }