I'm using the code below and want to know how this database function can be altered so that it creates two separate tables at once:
static Future<Database> database() async {
final dbPath = await sql.getDatabasesPath();
return sql.openDatabase(path.join(dbPath, 'mydatabase.db'), onCreate: (db, version) {
return db.execute('CREATE TABLE mytable(date TEXT PRIMARY KEY, value DOUBLE)');
}, version: 1);
}