rename Profiles model to Profile
This commit is contained in:
parent
4f68a15c04
commit
f1a9ac406d
|
@ -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,
|
||||
})
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue