Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ON CONFLICT REPLACEステートメントを使用して、既存のテーブルの定義を変更して、一意の列を含めたいと考えています。実行時に一意の制約を追加する方法は次のとおりであることは知っていますが、競合解決句を追加または変更する方法がわかりません。どんな助けでも大歓迎です!
ON CONFLICT REPLACE
CREATE UNIQUE INDEX IF NOT EXISTS someIndexName ON someTable(someColumn)