import { Database } from '@nozbe/watermelondb' import LokiJSAdapter from '@nozbe/watermelondb/adapters/lokijs' import schema from './model/schema' const adapter = new LokiJSAdapter({ schema, }) const database = new Database({ adapter, modelClasses: [ // Post, // ⬅️ You'll add Models to Watermelon here ], actionsEnabled: true, })