WayfinderAK ff48fe2ef2
Some checks failed
android-apk / debug-apk (push) Failing after 2m21s
One-shot NTP app phases
2026-07-09 15:55:03 -08:00

188 lines
5.3 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 1,
"identityHash": "716ef3f2e3462026bd1e0029da2e3d68",
"entities": [
{
"tableName": "profiles",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "ntp_servers",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `profileId` INTEGER NOT NULL, `name` TEXT NOT NULL, `host` TEXT NOT NULL, `port` INTEGER NOT NULL, `notes` TEXT NOT NULL, `enabled` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "profileId",
"columnName": "profileId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "host",
"columnName": "host",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "port",
"columnName": "port",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "notes",
"columnName": "notes",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "enabled",
"columnName": "enabled",
"affinity": "INTEGER",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "ntp_results",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `serverId` INTEGER NOT NULL, `testedAtEpochMs` INTEGER NOT NULL, `status` TEXT NOT NULL, `rttMs` REAL, `offsetMs` REAL, `stratum` INTEGER, `referenceId` TEXT, `rootDelayMs` REAL, `rootDispersionMs` REAL, `leapStatus` TEXT, `precision` INTEGER, `warning` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "serverId",
"columnName": "serverId",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "testedAtEpochMs",
"columnName": "testedAtEpochMs",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "status",
"columnName": "status",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "rttMs",
"columnName": "rttMs",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "offsetMs",
"columnName": "offsetMs",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "stratum",
"columnName": "stratum",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "referenceId",
"columnName": "referenceId",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "rootDelayMs",
"columnName": "rootDelayMs",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "rootDispersionMs",
"columnName": "rootDispersionMs",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "leapStatus",
"columnName": "leapStatus",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "precision",
"columnName": "precision",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "warning",
"columnName": "warning",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"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, '716ef3f2e3462026bd1e0029da2e3d68')"
]
}
}