Skip to content

Commit

Permalink
add: use folder for lyrics
Browse files Browse the repository at this point in the history
  • Loading branch information
ZTFtrue committed Apr 3, 2024
1 parent 22180fd commit 5f1e1d2
Show file tree
Hide file tree
Showing 14 changed files with 816 additions and 143 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ dependencies {
// optional - RxJava3 support for Room
implementation("androidx.room:room-rxjava3:$roomVersion")
// optional - Test helpers
testImplementation("androidx.room:room-testing:$roomVersion")
implementation("androidx.room:room-testing:$roomVersion")
// optional - Paging 3 Integration
implementation("androidx.room:room-paging:$roomVersion")

Expand Down
30 changes: 28 additions & 2 deletions app/schemas/com.ztftrue.music.sqlData.MusicDatabase/2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"formatVersion": 1,
"database": {
"version": 2,
"identityHash": "7612f82a538157fcffbf8aa079662086",
"identityHash": "fe6d3dfdaef5ff1b312e6985cf0f5356",
"entities": [
{
"tableName": "aux",
Expand Down Expand Up @@ -333,12 +333,38 @@
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "storage_folder",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER, `uri` TEXT NOT NULL, PRIMARY KEY(`id`))",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": false
},
{
"fieldPath": "uri",
"columnName": "uri",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"autoGenerate": false,
"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, '7612f82a538157fcffbf8aa079662086')"
"INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, 'fe6d3dfdaef5ff1b312e6985cf0f5356')"
]
}
}
Loading

0 comments on commit 5f1e1d2

Please sign in to comment.