Better bootstrap

This commit is contained in:
thosakwe 2017-02-21 22:34:50 -05:00
parent 16cdd2c1bd
commit 228b413ef0

View file

@ -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);
});
}