12345678910111213141516171819202122232425262728 |
- /**
- * @format
- */
- import {AppRegistry} from 'react-native';
- import App from './App';
- import {name as appName} from './app.json';
- // import { mySchema } from './database/schema';
- // import {Database} from '@nozbe/watermelondb';
- // import SQLiteAdapter from '@nozbe/watermelondb/adapters/sqlite'
- // import { setGenerator } from '@nozbe/watermelondb/utils/common/randomId';
- // import { v4 as uuidv4 } from 'uuid';
- // setGenerator(uuidv4);
- AppRegistry.registerComponent(appName, () => App);
- // const adapter = new SQLiteAdapter({
- // dbName: 'WatermelonDemo',
- // schema: mySchema
- // })
- // const database = new Database({
- // adapter,
- // modelClasses:[],
- // actionsEnabled: true
- // })
|