You are right. But for some reason it is not completely implemented in `getAlterTableSQL()`. Therefore I get something like this here:

```sql
CREATE TEMPORARY TABLE __temp__schema."table" AS SELECT id FROM "schema"."table";
DROP TABLE "schema"."table";
CREATE TABLE schema__"table" (id INTEGER NOT NULL, PRIMARY KEY(id));
INSERT INTO schema."table" (id) SELECT id FROM __temp__schema."table";
DROP TABLE __temp__schema."table";
CREATE INDEX "select" ON `schema`.table (id);
CREATE INDEX "bar" ON `schema`.table (id);
```

This looks broken and I was not sure whether it is a bug in the platform or if there is some intention behind that. Therefore I skipped it for now. What do you think?