dradovic / MigSharp

Mig# (MigSharp) is a .NET framework for database migrations and versioning
Other
106 stars 34 forks source link

SpecialDefaultValue Guid/NewId #51

Closed anishpateluk closed 8 years ago

anishpateluk commented 10 years ago

It would be nice to set the default value for a GUID field to (newid()) to have the database generate the Guid for uniqueidentifier data type fields.

We use Guids as Ids in our database and let the database generate the Ids.

dradovic commented 10 years ago

This feature makes absolutely sense. However, I don't know when or if I'm going to be able to implement it. Please read the first section of https://github.com/dradovic/MigSharp/wiki. Having said that, there is a slight chance that I'm going to need this feature in the coming months myself.

dradovic commented 9 years ago

Feel free to issue a PR for this.

anishpateluk commented 9 years ago

Will do buddy

dradovic commented 8 years ago

Released in 3.1.2. Added support for sequential GUIDs as well.