Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
fix(app): add version code and name on database
Browse files Browse the repository at this point in the history
Signed-off-by: Rafa Hernandez <rhernandez@teclib.com>
  • Loading branch information
rafaelje authored and Hector Rondon committed Sep 21, 2018
1 parent 3d6c400 commit 8f2c6a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ public class Application {
@ColumnInfo (name = "app_path")
public String appPath;

@ColumnInfo (name = "app_version_code")
public String appVersionCode;

@ColumnInfo (name = "app_version_name")
public String appVersionName;

@ColumnInfo (name = "app_status")
public String appStatus;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
import org.flyve.mdm.agent.data.database.entity.Policies;


@Database(entities = {Application.class, MQTT.class, Policies.class, File.class}, version = 7, exportSchema = false)
@Database(entities = {Application.class, MQTT.class, Policies.class, File.class}, version = 8, exportSchema = false)
public abstract class AppDataBase extends RoomDatabase {

private static AppDataBase instance;
Expand Down

0 comments on commit 8f2c6a5

Please sign in to comment.