Better bootstrap
This commit is contained in:
parent
16cdd2c1bd
commit
228b413ef0
1 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,11 @@
|
|||
import 'dart:io';
|
||||
import 'package:rethinkdb_driver/rethinkdb_driver.dart';
|
||||
|
||||
main() async {
|
||||
var r = new Rethinkdb();
|
||||
var conn = await r.connect();
|
||||
await r.tableCreate('todos').run(conn);
|
||||
r.connect().then((conn) {
|
||||
r.tableCreate('todos').run(conn);
|
||||
print('Done');
|
||||
exit(0);
|
||||
});
|
||||
}
|
Loading…
Reference in a new issue