Added documentation.
This commit is contained in:
parent
80aa1b56ae
commit
57c022f3d5
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ object Database {
|
||||||
|
|
||||||
private val DatabaseVersion = 1
|
private val DatabaseVersion = 1
|
||||||
|
|
||||||
|
// NOTE: We could make origin/target foreign keys to contacts, but:
|
||||||
|
// - they don't change anyway
|
||||||
|
// - we'd have to insert the local user into contacts
|
||||||
private val CreateMessagesTable = "CREATE TABLE messages(" +
|
private val CreateMessagesTable = "CREATE TABLE messages(" +
|
||||||
"_id INTEGER PRIMARY KEY," +
|
"_id INTEGER PRIMARY KEY," +
|
||||||
"origin TEXT NOT NULL," +
|
"origin TEXT NOT NULL," +
|
||||||
|
|
Reference in a new issue