"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`noteId` INTEGER NOT NULL, `eventId` INTEGER NOT NULL, `note` TEXT NOT NULL, PRIMARY KEY(`noteId`))",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`noteId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `eventId` INTEGER NOT NULL, `note` TEXT NOT NULL)",
"fields":[
{
"fieldPath":"noteId",
...
...
@@ -138,7 +138,7 @@
"columnNames":[
"noteId"
],
"autoGenerate":false
"autoGenerate":true
},
"indices":[],
"foreignKeys":[]
...
...
@@ -294,7 +294,7 @@
],
"setupQueries":[
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"4accc8019952a9b15793c92e27f562ee\")"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"daf76b7313a919dccf691f6e1d7adc9f\")"
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `sequenceNum` INTEGER NOT NULL, `startsAt` INTEGER NOT NULL, `endsAt` INTEGER NOT NULL, `deleted` INTEGER NOT NULL, `capacity` INTEGER NOT NULL, `occupied` INTEGER NOT NULL, `eventTypeRaw` TEXT NOT NULL, `parallel` TEXT NOT NULL, `cs` TEXT, `en` TEXT, `course` TEXT, `room` TEXT, `teachers` TEXT, PRIMARY KEY(`id`))",
"fields":[
{
"fieldPath":"id",
"columnName":"id",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"sequenceNum",
"columnName":"sequenceNum",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"startsAt",
"columnName":"startsAt",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"endsAt",
"columnName":"endsAt",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"deleted",
"columnName":"deleted",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"capacity",
"columnName":"capacity",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"occupied",
"columnName":"occupied",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"eventTypeRaw",
"columnName":"eventTypeRaw",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"parallel",
"columnName":"parallel",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"note.cs",
"columnName":"cs",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"note.en",
"columnName":"en",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"linked.course",
"columnName":"course",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"linked.room",
"columnName":"room",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"linked.teachers",
"columnName":"teachers",
"affinity":"TEXT",
"notNull":false
}
],
"primaryKey":{
"columnNames":[
"id"
],
"autoGenerate":false
},
"indices":[
{
"name":"index_Event_eventTypeRaw",
"unique":false,
"columnNames":[
"eventTypeRaw"
],
"createSql":"CREATE INDEX `index_Event_eventTypeRaw` ON `${TABLE_NAME}` (`eventTypeRaw`)"
}
],
"foreignKeys":[]
},
{
"tableName":"EventNote",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`noteId` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `eventId` INTEGER NOT NULL, `note` TEXT NOT NULL)",
"fields":[
{
"fieldPath":"noteId",
"columnName":"noteId",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"eventId",
"columnName":"eventId",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"note",
"columnName":"note",
"affinity":"TEXT",
"notNull":true
}
],
"primaryKey":{
"columnNames":[
"noteId"
],
"autoGenerate":true
},
"indices":[],
"foreignKeys":[]
},
{
"tableName":"Course",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`code` TEXT NOT NULL, `completion` TEXT NOT NULL, `credits` INTEGER NOT NULL, `department` TEXT NOT NULL, `homepage` TEXT, `name` TEXT NOT NULL, `range` TEXT NOT NULL, `season` TEXT NOT NULL, `state` TEXT NOT NULL, `studyForm` TEXT, PRIMARY KEY(`code`))",
"fields":[
{
"fieldPath":"code",
"columnName":"code",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"completion",
"columnName":"completion",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"credits",
"columnName":"credits",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"department",
"columnName":"department",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"homepage",
"columnName":"homepage",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"name",
"columnName":"name",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"range",
"columnName":"range",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"season",
"columnName":"season",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"state",
"columnName":"state",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"studyForm",
"columnName":"studyForm",
"affinity":"TEXT",
"notNull":false
}
],
"primaryKey":{
"columnNames":[
"code"
],
"autoGenerate":false
},
"indices":[],
"foreignKeys":[]
},
{
"tableName":"Teacher",
"createSql":"CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`firstName` TEXT NOT NULL, `lastName` TEXT NOT NULL, `personalNumber` INTEGER NOT NULL, `titlesPost` TEXT, `titlesPre` TEXT, `username` TEXT NOT NULL, `division` TEXT NOT NULL, `email` TEXT NOT NULL, `extern` INTEGER NOT NULL, `phone` TEXT, PRIMARY KEY(`username`))",
"fields":[
{
"fieldPath":"firstName",
"columnName":"firstName",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"lastName",
"columnName":"lastName",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"personalNumber",
"columnName":"personalNumber",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"titlesPost",
"columnName":"titlesPost",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"titlesPre",
"columnName":"titlesPre",
"affinity":"TEXT",
"notNull":false
},
{
"fieldPath":"username",
"columnName":"username",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"division",
"columnName":"division",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"email",
"columnName":"email",
"affinity":"TEXT",
"notNull":true
},
{
"fieldPath":"extern",
"columnName":"extern",
"affinity":"INTEGER",
"notNull":true
},
{
"fieldPath":"phone",
"columnName":"phone",
"affinity":"TEXT",
"notNull":false
}
],
"primaryKey":{
"columnNames":[
"username"
],
"autoGenerate":false
},
"indices":[],
"foreignKeys":[]
}
],
"setupQueries":[
"CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"daf76b7313a919dccf691f6e1d7adc9f\")"