Im building and app with flutter that uses SQLite database. I have created first table using this piece of code:
void _createDb(Database db, int newVersion)
Change the name of the DB file. This will 'reset' your DB and creation will work.
DB
e.g:
final dabasesPath = await getDatabasesPath(); final path = join(dabasesPath, "newName2.db");