diff --git a/lib/transport_helper.dart b/lib/transport_helper.dart index 43113ff..75796ef 100644 --- a/lib/transport_helper.dart +++ b/lib/transport_helper.dart @@ -245,7 +245,7 @@ class Station { static void initStationLinesTable() async { Database database = DbHelper.db; database.execute("""CREATE TABLE IF NOT EXISTS stationlines( - id INT PRIMARY KEY AUTOINCREMENT, + id INTEGER PRIMARY KEY AUTOINCREMENT, stationid TEXT, lineid TEXT, FOREIGN KEY (stationid) REFERENCES station(stationid),