mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-02 11:37:37 +00:00
Column名を追加
This commit is contained in:
1 file changed
+2
@@ -1,5 +1,6 @@
|
|||||||
package one.nem.lacerta.source.db.entity;
|
package one.nem.lacerta.source.db.entity;
|
||||||
|
|
||||||
|
import androidx.room.ColumnInfo;
|
||||||
import androidx.room.Entity;
|
import androidx.room.Entity;
|
||||||
import androidx.room.PrimaryKey;
|
import androidx.room.PrimaryKey;
|
||||||
|
|
||||||
@@ -9,6 +10,7 @@ public class Repositories {
|
|||||||
@PrimaryKey
|
@PrimaryKey
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
|
@ColumnInfo(name = "relative_path")
|
||||||
private String relativePath;
|
private String relativePath;
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user