Closed newgolo closed 3 days ago
please show me your original SQLs for all the tables
SQLite version 3.22.0 2018-01-22 18:45:57 Enter ".help" for usage hints. sqlite> .schema CREATE TABLE IF NOT EXISTS "table_students" ( "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL , "name" TEXT DEFAULT ('') NOT NULL ); CREATE TABLE sqlite_sequence(name,seq);
@newgolo and if you run sync_schema
again you'll get table_students
dropped and recreated?
@newgolo and if you run
sync_schema
again you'll gettable_students
dropped and recreated?
Yes.
ok. Which lib version you use?
ok. Which lib version you use?
sqlite: 3.22.0, sqlite_orm: 1.8.2.
please try dev
branch instead - we have several fixes in dev
, probably your bug was already fixed
please try
dev
branch instead - we have several fixes indev
, probably your bug was already fixed
I tried the dev branch, but the problem is still unsolved.
please try
dev
branch instead - we have several fixes indev
, probably your bug was already fixedI find the problem, the sqlite3 version too old, upgrade to 3.31.1, it is ok! Thanks!
when I run my sqlite_orm demo, I found that every time it will drop records and recreate a new table. I am so confused ..., code like following: