lib/_data_ingestion: improve openLocalDB
This commit is contained in:
@@ -25,11 +25,6 @@ class CreateDb extends Command {
|
||||
readWrite: true,
|
||||
);
|
||||
|
||||
if (db == null) {
|
||||
print("Failed to open database");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
seedData(db).then((_) {
|
||||
print("Database created successfully");
|
||||
}).catchError((error) {
|
||||
|
||||
Reference in New Issue
Block a user