Skip to content

Commit

Permalink
Merge pull request #10 from ajnas/master
Browse files Browse the repository at this point in the history
Add inmates check in date
  • Loading branch information
naveenpf authored Aug 11, 2019
2 parents 89bb83f + 56a57b1 commit c3e7b2d
Show file tree
Hide file tree
Showing 10 changed files with 358 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ app/google-services.json
*.iws

# Mac
.DS_Store
.DS_Store
app/release/
Binary file modified app-release.apk
Binary file not shown.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "xyz.appmaker.keralarescue.v2"
minSdkVersion 16
targetSdkVersion 27
versionCode 11
versionName "1.4"
versionCode 12
versionName "1.5"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
Expand Down
125 changes: 125 additions & 0 deletions app/schemas/xyz.appmaker.keralarescue.Room.CampDatabase/3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"formatVersion": 1,
"database": {
"version": 3,
"identityHash": "3e81e3e6d7a1b95613f7fa5850988ca2",
"entities": [
{
"tableName": "camp_names",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `camp_id` INTEGER NOT NULL, `district` TEXT NOT NULL, PRIMARY KEY(`camp_id`))",
"fields": [
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "id",
"columnName": "camp_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "district",
"columnName": "district",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"camp_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "person_data",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT, `camp_id` TEXT, `age` TEXT, `gender` TEXT, `address` TEXT, `district` TEXT, `mobile` TEXT, `note` TEXT, `status` TEXT, `checkin_date` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "camped_at",
"columnName": "camp_id",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "age",
"columnName": "age",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "gender",
"columnName": "gender",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "address",
"columnName": "address",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "district",
"columnName": "district",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "mobile",
"columnName": "mobile",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "note",
"columnName": "note",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "syncStatus",
"columnName": "status",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "checkinDate",
"columnName": "checkin_date",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
}
],
"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, \"3e81e3e6d7a1b95613f7fa5850988ca2\")"
]
}
}
125 changes: 125 additions & 0 deletions app/schemas/xyz.appmaker.keralarescue.Room.CampDatabase/4.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
{
"formatVersion": 1,
"database": {
"version": 4,
"identityHash": "3e81e3e6d7a1b95613f7fa5850988ca2",
"entities": [
{
"tableName": "camp_names",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`name` TEXT NOT NULL, `camp_id` INTEGER NOT NULL, `district` TEXT NOT NULL, PRIMARY KEY(`camp_id`))",
"fields": [
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": true
},
{
"fieldPath": "id",
"columnName": "camp_id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "district",
"columnName": "district",
"affinity": "TEXT",
"notNull": true
}
],
"primaryKey": {
"columnNames": [
"camp_id"
],
"autoGenerate": false
},
"indices": [],
"foreignKeys": []
},
{
"tableName": "person_data",
"createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, `name` TEXT, `camp_id` TEXT, `age` TEXT, `gender` TEXT, `address` TEXT, `district` TEXT, `mobile` TEXT, `note` TEXT, `status` TEXT, `checkin_date` TEXT)",
"fields": [
{
"fieldPath": "id",
"columnName": "id",
"affinity": "INTEGER",
"notNull": true
},
{
"fieldPath": "name",
"columnName": "name",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "camped_at",
"columnName": "camp_id",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "age",
"columnName": "age",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "gender",
"columnName": "gender",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "address",
"columnName": "address",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "district",
"columnName": "district",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "mobile",
"columnName": "mobile",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "note",
"columnName": "note",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "syncStatus",
"columnName": "status",
"affinity": "TEXT",
"notNull": false
},
{
"fieldPath": "checkinDate",
"columnName": "checkin_date",
"affinity": "TEXT",
"notNull": false
}
],
"primaryKey": {
"columnNames": [
"id"
],
"autoGenerate": true
},
"indices": [],
"foreignKeys": []
}
],
"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, \"3e81e3e6d7a1b95613f7fa5850988ca2\")"
]
}
}
Loading

0 comments on commit c3e7b2d

Please sign in to comment.