-
-
Notifications
You must be signed in to change notification settings - Fork 520
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
UUID primary key for MSSQL #78
Comments
Here is PR for this feature: #79 |
@deksden Producing DataTypes.UUIDV4 breaks SQL Server. Getting an error that column data type UUIDv4 is not found. Changing the DataType to UUID fixes it. Could you double check? |
Any code/sample? What SQL Server version? As for time of that issue 2 yrs ago all was fine with tested SQL server versions |
For anyone else who stumbles across this today, you can keep
Just keep the defaultValue as |
Thanks a lot!!!, this still working if any else stuck with this. |
After importing some MS SQL (2008R2) table i have following field definition in my model:
Actually, IMHO, it should be like this:
P.S. .UUIDV4 makes this field as uuid-type and auto-generate new value for it
The text was updated successfully, but these errors were encountered: