createDb method

  1. @override
void createDb(
  1. Database db,
  2. int version
)
override

Creates db if not exist

Implementation

@override
void createDb(Database db, int version) async {
  await db.execute(
      'Create table sqfentitytables (id integer primary key, tablename text, version int, properties text)');
  await db.execute(
      'Create table sqfentitysequences (id text UNIQUE, value integer)');
  print(
      'Your database ${connection!.databaseName} v:$version created successfully');
}