rename Profiles model to Profile

This commit is contained in:
Barry Gitarts 2019-01-18 16:22:20 -05:00
parent 4f68a15c04
commit f1a9ac406d
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@ import LokiJSAdapter from '@nozbe/watermelondb/adapters/lokijs'
import schema from './model/schema'
import LpEvent from './model/lpEvents'
import Profiles from './model/profiles'
import Profile from './model/profile'
const adapter = new LokiJSAdapter({
schema,
@ -13,7 +13,7 @@ const database = new Database({
adapter,
modelClasses: [
LpEvent,
Profiles
Profile
],
actionsEnabled: true,
})

View File

@ -2,7 +2,7 @@ import { action, field } from '@nozbe/watermelondb/decorators'
import { LiquidModel } from '../utils/models'
export default class Profiles extends LiquidModel {
export default class Profile extends LiquidModel {
static table = 'profiles'
@field('addr') addr