Commit 4a4a8559 authored by Phuengton Chummuel's avatar Phuengton Chummuel

change id to type string

parent 0bfe30a6
...@@ -5,7 +5,7 @@ let realm = new Realm({ ...@@ -5,7 +5,7 @@ let realm = new Realm({
{ {
name: 'Reminder', name: 'Reminder',
properties: { properties: {
id: 'int', id: 'string',
medName: 'string', medName: 'string',
reminderTime: 'date', reminderTime: 'date',
meal: 'string', meal: 'string',
...@@ -24,7 +24,7 @@ let realm = new Realm({ ...@@ -24,7 +24,7 @@ let realm = new Realm({
}, { }, {
name: 'Appointments', name: 'Appointments',
properties: { properties: {
id: 'int', id: 'string',
doctorName: 'string', doctorName: 'string',
date: 'date', date: 'date',
place: 'string', place: 'string',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment