techouse / mysql-to-sqlite3

Transfer data from MySQL to SQLite
https://techouse.github.io/mysql-to-sqlite3/
MIT License
222 stars 31 forks source link

Suggest IF NOT EXISTS when creating indexes #11

Closed juliangall closed 4 years ago

juliangall commented 4 years ago

Is your feature request related to a problem? Please describe. I ran mysql-to-sqlite3 a second time to refresh my db, but it errored due to not being able to create the indexes, because they were created the first time I ran it.

Describe the solution you'd like Add IF NOT EXISTS to the CREATE INDEX SQL command.

Describe alternatives you've considered None.

Additional context I can see no downsides to this.

Thanks,

Julian

techouse commented 4 years ago

Done. Released in v1.3.5

juliangall commented 4 years ago

You're a star! Thank you.