Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added --no_data argument #57

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Added --no_data argument #57

wants to merge 2 commits into from

Conversation

dahvid
Copy link

@dahvid dahvid commented Oct 28, 2024

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.

…d then deleting previous output data)

Fixed bad time stamp translations from sqlite back to mssql
…e data, only the schema

Fix for bug in previous commie of --no_data, which didn't copy primary keys.
@dahvid
Copy link
Author

dahvid commented Nov 3, 2024

There was a bug in the previous --no_data addition. Primary keys were not being copied into the new schemas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants