AndroidApp/app/schemas/com.example.myapplication.D.../4.json

236 lines
6.7 KiB
JSON

{
"formatVersion": 1,
"database": {
"version": 4,
"identityHash": "6390dc3df9684c38dfe932d1189a35a8",
"entities": [
{
"tableName": "images",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `path` TEXT, `time` INTEGER NOT NULL, `latitude` REAL NOT NULL, `longitude` REAL NOT NULL, `altitude` REAL NOT NULL, `user` TEXT, `audioPath` TEXT, `turbineId` TEXT, `turbineName` TEXT, `partId` TEXT, `partName` TEXT, `project` TEXT, `b` INTEGER NOT NULL, `temperature` TEXT, `humidity` TEXT, `weather` TEXT, `imageSource` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "path",
"columnName": "path",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "time",
"columnName": "time",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "latitude",
"columnName": "latitude",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "longitude",
"columnName": "longitude",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "altitude",
"columnName": "altitude",
"affinity": "REAL",
"notNull": true
},
{
"fieldPath": "user",
"columnName": "user",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "audioPath",
"columnName": "audioPath",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "turbineId",
"columnName": "turbineId",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "turbineName",
"columnName": "turbineName",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "partId",
"columnName": "partId",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "partName",
"columnName": "partName",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "project",
"columnName": "project",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "b",
"columnName": "b",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "temperature",
"columnName": "temperature",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "humidity",
"columnName": "humidity",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "weather",
"columnName": "weather",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "imageSource",
"columnName": "imageSource",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "turbines",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`turbineId` TEXT NOT NULL, `turbineName` TEXT, `projectId` TEXT, PRIMARY KEY(`turbineId`))",
"fields": [
{
"fieldPath": "turbineId",
"columnName": "turbineId",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "turbineName",
"columnName": "turbineName",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "projectId",
"columnName": "projectId",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"turbineId"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "audio_entities",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `isupdated` INTEGER NOT NULL, `fileName` TEXT, `AudioPath` TEXT, `ImagePath` TEXT, `fileSize` INTEGER NOT NULL, `time` TEXT, `duration` INTEGER NOT NULL, `createdAt` INTEGER NOT NULL)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "isupdated",
"columnName": "isupdated",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "fileName",
"columnName": "fileName",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "AudioPath",
"columnName": "AudioPath",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "ImagePath",
"columnName": "ImagePath",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "fileSize",
"columnName": "fileSize",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "time",
"columnName": "time",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "duration",
"columnName": "duration",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "createdAt",
"columnName": "createdAt",
"affinity": "INTEGER",
"notNull": true
}
],
"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, '6390dc3df9684c38dfe932d1189a35a8')"
]
}
}