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;