db-to-sqlite
db-to-sqlite copied to clipboard
Added --no_data argument
trafficstars
The --no_data [table name] argument will copy only the schema, but not any data for the named table. It works similar to the --skip argument in that it can be issued multiple times in a single command line.
Use case for this is transferring an MSSQL database with tables with many rows that you don't need in the sqlite version, but you do need the empty schema.
There was a bug in the previous --no_data addition. Primary keys were not being copied into the new schemas.