Skip to content

Commit

Permalink
feat(channelGroups): allow re-ordering of groups
Browse files Browse the repository at this point in the history
  • Loading branch information
FineFindus committed Aug 19, 2023
1 parent 8ecb9ca commit 581c7c9
Show file tree
Hide file tree
Showing 10 changed files with 579 additions and 11 deletions.
12 changes: 9 additions & 3 deletions app/schemas/com.github.libretube.db.AppDatabase/13.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 13,
"identityHash": "ee7e6417524e834a73c6d4f8847bce11",
"identityHash": "a07f3a23fa32cba2d80830e903c145c4",
"entities": [
{
"tableName": "watchHistoryItem",
Expand Down Expand Up @@ -474,7 +474,7 @@
},
{
"tableName": "subscriptionGroups",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `channels` TEXT NOT NULL, PRIMARY KEY(`name`))",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `channels` TEXT NOT NULL, `index` INTEGER, PRIMARY KEY(`name`))",
"fields": [
{
"fieldPath": "name",
Expand All @@ -487,6 +487,12 @@
"columnName": "channels",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "index",
"columnName": "index",
"affinity": "INTEGER",
"notNull": false
}
],
"primaryKey": {
Expand All @@ -502,7 +508,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, 'ee7e6417524e834a73c6d4f8847bce11')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'a07f3a23fa32cba2d80830e903c145c4')"
]
}
}
Loading

0 comments on commit 581c7c9

Please sign in to comment.