databaseversioning's People
databaseversioning's Issues
Upgrade to a Particular Version
The tool doesn't let you upgrade to a particular version, which might be helpful, and not that hard to develop.
Add function to get the current database version
I'd like to see what version the database is before and after the upgrade to make sure the app is running against the correct version of the database.
Patch scripts insert multiple records into VersionHistory table
The patch scripts don't seem to be actually run multiple times, but the record that the patch script was run is put into the table every time you run the tool, even when it doesn't run the script.
Default Options for Ease of Use Improvement
When you run the tool, it should assume the current directory is the root directory, and it should assume the names of the upgrade scripts, patches, stored procedures, etc. directories. This would make it easier to use.
Pass Database Name as parameter to all scripts
In order to develop certain upgrade scripts, you have to know the database name. For instance, when you want to script out a Sql Server Job, you need to know the name of the database inside the script.
I think we should make the database upgrader pass a parameter called something like "@DatabaseName" to each script. Then, in the command line tool, allow the developer to specify the name of the database, which will be passed to all the scripts, on the command line.
Even better, allow any number of parameters to be passed in to each script so you can pass all kinds of different configuration parameters to each script.
Allow injection of logger
Allow injection of a logging provider which can be utilized to keep track of upgrades.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.