Skip to content
Merged
1 change: 1 addition & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ kover {
"dagger",
"hilt_aggregated_deps",
"*.di",
"*.presentation"
))
excludes.classes(listOf(
"*_*Factory*",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,206 @@
{
"formatVersion": 1,
"database": {
"version": 6,
"identityHash": "276c8233ca0bab70a43013da7b6e75ca",
"entities": [
{
"tableName": "notification",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `appName` TEXT NOT NULL, `title` TEXT NOT NULL, `content` TEXT NOT NULL, `timestamp` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "appName",
"columnName": "appName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "title",
"columnName": "title",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "content",
"columnName": "content",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "timestamp",
"columnName": "timestamp",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [
{
"name": "index_notification_appName_title_timestamp",
"unique": false,
"columnNames": [
"appName",
"title",
"timestamp"
],
"orders": [],
"createSql": "CREATE INDEX IF NOT EXISTS `index_notification_appName_title_timestamp` ON `${TABLE_NAME}` (`appName`, `title`, `timestamp`)"
}
],
"foreignKeys": []
},
{
"tableName": "notification_meta",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`notificationId` INTEGER NOT NULL, `intentActive` INTEGER NOT NULL, `intentArray` BLOB NOT NULL, PRIMARY KEY(`notificationId`), FOREIGN KEY(`notificationId`) REFERENCES `notification`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "notificationId",
"columnName": "notificationId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "intentActive",
"columnName": "intentActive",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "intentArray",
"columnName": "intentArray",
"affinity": "BLOB",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"notificationId"
]
},
"indices": [],
"foreignKeys": [
{
"table": "notification",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"notificationId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "notification_icon",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`notificationId` INTEGER NOT NULL, `iconBytes` BLOB NOT NULL, `priorityActive` INTEGER NOT NULL DEFAULT 0, `priority` INTEGER NOT NULL DEFAULT 0, PRIMARY KEY(`notificationId`), FOREIGN KEY(`notificationId`) REFERENCES `notification`(`id`) ON UPDATE NO ACTION ON DELETE CASCADE )",
"fields": [
{
"fieldPath": "notificationId",
"columnName": "notificationId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "iconBytes",
"columnName": "iconBytes",
"affinity": "BLOB",
"notNull": true
},
{
"fieldPath": "priorityActive",
"columnName": "priorityActive",
"affinity": "INTEGER",
"notNull": true,
"defaultValue": "0"
},
{
"fieldPath": "priority",
"columnName": "priority",
"affinity": "INTEGER",
"notNull": true,
"defaultValue": "0"
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"notificationId"
]
},
"indices": [],
"foreignKeys": [
{
"table": "notification",
"onDelete": "CASCADE",
"onUpdate": "NO ACTION",
"columns": [
"notificationId"
],
"referencedColumns": [
"id"
]
}
]
},
{
"tableName": "app_icon",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`notiAppName` TEXT NOT NULL, `iconBytes` BLOB NOT NULL, `priorityActive` INTEGER NOT NULL DEFAULT 0, `priority` INTEGER NOT NULL DEFAULT 0, PRIMARY KEY(`notiAppName`))",
"fields": [
{
"fieldPath": "notiAppName",
"columnName": "notiAppName",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "iconBytes",
"columnName": "iconBytes",
"affinity": "BLOB",
"notNull": true
},
{
"fieldPath": "priorityActive",
"columnName": "priorityActive",
"affinity": "INTEGER",
"notNull": true,
"defaultValue": "0"
},
{
"fieldPath": "priority",
"columnName": "priority",
"affinity": "INTEGER",
"notNull": true,
"defaultValue": "0"
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"notiAppName"
]
},
"indices": [],
"foreignKeys": []
}
],
"views": [],
"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, '276c8233ca0bab70a43013da7b6e75ca')"
]
}
}
Loading
Loading