onUpgrade static method

void onUpgrade(
  1. Database db,
  2. int oldVersion,
  3. int version
)

Implementation

static void onUpgrade(Database db, int oldVersion, int version) async {
  if (oldVersion < version) {}
}