Skip to content

bekindsoft/sqflmigrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sqflmigrator

A sqflite migration helper for Flutter.

Usage

import 'package:sqflmigrator/sqflmigrator.dart';
import 'package:sqflite/sqflite.dart';

void main() async {
    final migrationsDir = Directory('./migrations');
    var db = await openDatabase('my_db.db');
    final migrator = SqflMigrator(
        db,
        migrationsDir: migrationsDir,
    );
    await migrator.init();
    await migrator.migrate();
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages