You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, ScriptBase took a boolean argument includeDefaultConstraint which helped determine if the default values should be scripted inline, but this is now determined via the IncludeDefaultConstraint property.
I'm not totally sure how best to fix this one, since I don't fully understand the properties involved. I suspect it's related to the fact that Default.cs now knows about the table its in, though looking at how it's used this could be a bug too.
The text was updated successfully, but these errors were encountered:
When I script the creation of a table that has a default value for a column it is not scripted.
I've written a crude test that recreates the issue on my machine:
This works correctly in 1.3.56 (0e0ad52) and comparing it to bacee1a it looks like the difference comes from
Column.cs
. This section has changed:Previously,
ScriptBase
took a boolean argumentincludeDefaultConstraint
which helped determine if the default values should be scripted inline, but this is now determined via theIncludeDefaultConstraint
property.I'm not totally sure how best to fix this one, since I don't fully understand the properties involved. I suspect it's related to the fact that
Default.cs
now knows about the table its in, though looking at how it's used this could be a bug too.The text was updated successfully, but these errors were encountered: