Commit 910ad24e authored by Phuengton Chummuel's avatar Phuengton Chummuel

add realm database

parent 85f3e6eb
import Realm from 'realm'
let realm = new Realm({
schema: [
{
name: 'Reminder',
properties: {
id: 'int',
medName: 'string',
reminderTime: 'date',
meal: 'string',
period: 'int'
}
}, {
name: 'TimePeriod',
properties: {
morning: 'string',
afternoon: 'string',
evening: 'string',
night: 'string'
}
}]
})
export default realm;
\ No newline at end of file
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