I have a corrupted DB (fake_db_v3a.sqlite) file which has two tables (user & status) in it. To get rid of corrupted DB, I have dump DB schema and both the tables to a separate SQL file (fake_db_v3a_structure.sql, fake_db_v3a_user.sql, fake_db_v3a_status.sql). Now, I want to create an empty new SQLite DB using this schema. How can I do that?
Any help would be appreciated. Thanks
cat fake_db_v3a*.sql | sqlite3 new.dbor the like?