onUpgrade method

FutureOr<void> onUpgrade(
  1. int oldVersion,
  2. int newVersion
)

增加表更新的方法,这里只是回调到每个dao类中,一个dao类一个表,针对当前表进行更新

Implementation

FutureOr<void> onUpgrade(int oldVersion, int newVersion) {}