数据库表迁移
This commit is contained in:
@@ -59,12 +59,7 @@ class LoginViewModel extends _$LoginViewModel {
|
||||
///TODO: StorageSDKLifeCycle 需要只在主项目暴露
|
||||
final storageLifeCycle = storageApi as StorageSdkLifecycle;
|
||||
ref.read(authNotifierProvider).login();
|
||||
|
||||
await storageLifeCycle.openDatabase(1234567);
|
||||
final rows = await storageApi.rawQuery("PRAGMA table_info('user')");
|
||||
for (final row in rows) {
|
||||
debugPrint('Schema: ${row.data}');
|
||||
}
|
||||
}
|
||||
|
||||
/// 执行登录
|
||||
|
||||
Reference in New Issue
Block a user