Creating an empty database in SQLite from a template SQLite file

You can use Command Line Shell For SQLite

sqlite3 old.db .schema | sqlite3 new.db