Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Double with BigDecimal #120

Merged
merged 2 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions app/schemas/dev.arkbuilders.rate.data.db.Database/13.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"formatVersion": 1,
"database": {
"version": 13,
"identityHash": "2b3d1230ba4b3c84901e7ce337754efe",
"identityHash": "4309cb10f28a58d6c6611b5b58732a82",
"entities": [
{
"tableName": "RoomAsset",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `code` TEXT NOT NULL, `amount` REAL NOT NULL, `group` TEXT)",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `code` TEXT NOT NULL, `amount` TEXT NOT NULL, `group` TEXT)",
"fields": [
{
"fieldPath": "id",
Expand All @@ -23,7 +23,7 @@
{
"fieldPath": "amount",
"columnName": "amount",
"affinity": "REAL",
"affinity": "TEXT",
"notNull": true
},
{
Expand All @@ -44,7 +44,7 @@
},
{
"tableName": "RoomCurrencyRate",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`code` TEXT NOT NULL, `currencyType` TEXT NOT NULL, `rate` REAL NOT NULL, PRIMARY KEY(`code`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`code` TEXT NOT NULL, `currencyType` TEXT NOT NULL, `rate` TEXT NOT NULL, PRIMARY KEY(`code`))",
"fields": [
{
"fieldPath": "code",
Expand All @@ -61,7 +61,7 @@
{
"fieldPath": "rate",
"columnName": "rate",
"affinity": "REAL",
"affinity": "TEXT",
"notNull": true
}
],
Expand Down Expand Up @@ -102,7 +102,7 @@
},
{
"tableName": "RoomPairAlert",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `targetCode` TEXT NOT NULL, `baseCode` TEXT NOT NULL, `targetPrice` REAL NOT NULL, `startPrice` REAL NOT NULL, `alertPercent` REAL, `oneTimeNotRecurrent` INTEGER NOT NULL, `enabled` INTEGER NOT NULL, `lastDateTriggered` TEXT, `group` TEXT)",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `targetCode` TEXT NOT NULL, `baseCode` TEXT NOT NULL, `targetPrice` TEXT NOT NULL, `startPrice` TEXT NOT NULL, `alertPercent` REAL, `oneTimeNotRecurrent` INTEGER NOT NULL, `enabled` INTEGER NOT NULL, `lastDateTriggered` TEXT, `group` TEXT)",
"fields": [
{
"fieldPath": "id",
Expand All @@ -125,13 +125,13 @@
{
"fieldPath": "targetPrice",
"columnName": "targetPrice",
"affinity": "REAL",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "startPrice",
"columnName": "startPrice",
"affinity": "REAL",
"affinity": "TEXT",
"notNull": true
},
{
Expand Down Expand Up @@ -176,7 +176,7 @@
},
{
"tableName": "RoomQuickPair",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `from` TEXT NOT NULL, `amount` REAL NOT NULL, `to` TEXT NOT NULL, `calculatedDate` TEXT NOT NULL, `pinnedDate` TEXT, `group` TEXT)",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `from` TEXT NOT NULL, `amount` TEXT NOT NULL, `to` TEXT NOT NULL, `calculatedDate` TEXT NOT NULL, `pinnedDate` TEXT, `group` TEXT)",
"fields": [
{
"fieldPath": "id",
Expand All @@ -193,7 +193,7 @@
{
"fieldPath": "amount",
"columnName": "amount",
"affinity": "REAL",
"affinity": "TEXT",
"notNull": true
},
{
Expand Down Expand Up @@ -266,7 +266,7 @@
"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, '2b3d1230ba4b3c84901e7ce337754efe')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '4309cb10f28a58d6c6611b5b58732a82')"
]
}
}
272 changes: 272 additions & 0 deletions app/schemas/dev.arkbuilders.rate.data.db.Database/14.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,272 @@
{
"formatVersion": 1,
"database": {
"version": 14,
"identityHash": "4309cb10f28a58d6c6611b5b58732a82",
"entities": [
{
"tableName": "RoomAsset",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `code` TEXT NOT NULL, `amount` TEXT NOT NULL, `group` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "code",
"columnName": "code",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "amount",
"columnName": "amount",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "group",
"columnName": "group",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "RoomCurrencyRate",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`code` TEXT NOT NULL, `currencyType` TEXT NOT NULL, `rate` TEXT NOT NULL, PRIMARY KEY(`code`))",
"fields": [
{
"fieldPath": "code",
"columnName": "code",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "currencyType",
"columnName": "currencyType",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "rate",
"columnName": "rate",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"code"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "RoomFetchTimestamp",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`type` TEXT NOT NULL, `timestamp` TEXT NOT NULL, PRIMARY KEY(`type`))",
"fields": [
{
"fieldPath": "type",
"columnName": "type",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "timestamp",
"columnName": "timestamp",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"type"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "RoomPairAlert",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `targetCode` TEXT NOT NULL, `baseCode` TEXT NOT NULL, `targetPrice` TEXT NOT NULL, `startPrice` TEXT NOT NULL, `alertPercent` REAL, `oneTimeNotRecurrent` INTEGER NOT NULL, `enabled` INTEGER NOT NULL, `lastDateTriggered` TEXT, `group` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "targetCode",
"columnName": "targetCode",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "baseCode",
"columnName": "baseCode",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "targetPrice",
"columnName": "targetPrice",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "startPrice",
"columnName": "startPrice",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "alertPercent",
"columnName": "alertPercent",
"affinity": "REAL",
"notNull": false
},
{
"fieldPath": "oneTimeNotRecurrent",
"columnName": "oneTimeNotRecurrent",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "enabled",
"columnName": "enabled",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "lastDateTriggered",
"columnName": "lastDateTriggered",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "group",
"columnName": "group",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "RoomQuickPair",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `from` TEXT NOT NULL, `amount` TEXT NOT NULL, `to` TEXT NOT NULL, `calculatedDate` TEXT NOT NULL, `pinnedDate` TEXT, `group` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "from",
"columnName": "from",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "amount",
"columnName": "amount",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "to",
"columnName": "to",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "calculatedDate",
"columnName": "calculatedDate",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "pinnedDate",
"columnName": "pinnedDate",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "group",
"columnName": "group",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"autoGenerate": true,
"columnNames": [
"id"
]
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "RoomCodeUseStat",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`code` TEXT NOT NULL, `count` INTEGER NOT NULL, `lastUsedDate` TEXT NOT NULL, PRIMARY KEY(`code`))",
"fields": [
{
"fieldPath": "code",
"columnName": "code",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "count",
"columnName": "count",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "lastUsedDate",
"columnName": "lastUsedDate",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"columnNames": [
"code"
]
},
"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, '4309cb10f28a58d6c6611b5b58732a82')"
]
}
}
Loading