#8 Support indices and foreign keys during migrations

Нээсэн
нээсэн 5 өдөр өмнө by kestrel · 2 саналууд
kestrel санал үлдээсэн 5 өдөр өмнө

According to the SQLite documentation, indices that refer to tables must be dropped while doing the out-of-place table recreation. Foreign keys must likewise be temporarily disabled and then checked before re-enabling. This is the last major piece of migrations as far as I am currently aware.

According to the [SQLite documentation](https://www.sqlite.org/lang_altertable.html), indices that refer to tables must be dropped while doing the out-of-place table recreation. Foreign keys must likewise be temporarily disabled and then checked before re-enabling. This is the last major piece of migrations as far as I am currently aware.
kestrel санал үлдээсэн 4 өдөр өмнө
Эзэмшигч

Commit f0c59f36f0 adds consumer-facing support for foreign key migrations, though full integrity checks etc are not yet run.

Commit f0c59f36f040c73359b2747d4a7f09d91026aa95 adds consumer-facing support for foreign key migrations, though full integrity checks etc are not yet run.
kestrel санал үлдээсэн 3 өдөр өмнө
Эзэмшигч

Full integrity checks are now run for indices, and in theory, foreign key support should simply 'work'. Testing is required, however.

Full integrity checks are now run for indices, and in theory, foreign key support should simply 'work'. Testing is required, however.
Энэ хэлэлцүүлгэнд нэгдэхийн тулт та нэвтэрнэ үү.
Шошгогүй
Үе шат заахгүй
Хариуцагч байхгүй
1 Оролцогчид
Ачааллаж байна ...
Цуцлах
Хадгалах
Харуулах агуулга байхгүй байна.