I use the SQLite GUI browser to work with the database. I cannot find a button to make a primary key on two or more columns. How to do it?
SQLite does not support adding constraints.
You need to create a new table, specifying its entire column structure and import the old data into the new table. Then rename the new one after you drop the old one.
Source: https://habr.com/ru/post/1771325/More articles:Как можно получить переменную из другого выражения кода кода, чем блок, в котором была объявлена переменная? - compiler-constructionUse visual diff to compare current repo with main repo? - mercurialWhy does this batch file generate additional, unexpected, unwanted characters? - windowsWhat is a reasonable size for a Visual C ++ PDB file? - visual-c ++How to prevent WCF from being used in a byte array with automatic serialization as base-64 encoded string? - serializationiphone - How can I use UIBarButtonItem style without UIToolBar - iphoneС# единица измерения числовые вопросы точности - c#Fixed Heading HTML Table and Fixed First Column for iPhone - htmlNPE in java.util.LinkedList addBefore method - javaC # parse regional timestamp date strings - c #All Articles