mirror of
https://github.com/DBDiff/DBDiff.git
synced 2026-04-25 05:15:49 +03:00
[GH-ISSUE #3] source db can use sql files? #2
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/DBDiff#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dwdcth on GitHub (Apr 12, 2016).
Original GitHub issue: https://github.com/DBDiff/DBDiff/issues/3
Thanks for your great work!
Our production dbs are only allowed to access in local netwrok.
We dump developing dbs to sql files and restore them to production dbs.
If source db can use sql files?
@jasdeepkhalsa commented on GitHub (Apr 15, 2016):
Apologies for the delayed reply!
For database access, internally we are using Laravel's database connectivity module called
illuminate/databasewhich only supportsMySQL, Postgres, SQLite, and SQL Server. As a result you would not be able to use DBDiff without the SQL file being inside a database.Also, currently we're only supporting MySQL properly in order to see if this tool is really being demanded by the community first, and iron out any issues.
As a result, for your purposes, you may want to try to get your SQL file added into a temporary MySQL database on your laptop / machine in order to produce your migrations. You can always destroy that temporary database later :)
@dwdcth commented on GitHub (Apr 16, 2016):
OK, a a temporary database maybe a solution.Thank you !