File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Migrator/Providers/Impl/SqlServer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -521,7 +521,7 @@ public override Column[] GetColumns(string table)
521521 else if ( column . MigratorDbType == MigratorDbType . Decimal )
522522 {
523523 // We assume ((1.234))
524- column . DefaultValue = decimal . Parse ( bracesStrippedString , CultureInfo . InvariantCulture ) ;
524+ column . DefaultValue = decimal . Parse ( bracesAndSingleQuoteStrippedString , CultureInfo . InvariantCulture ) ;
525525 }
526526 else if ( column . MigratorDbType == MigratorDbType . String )
527527 {
@@ -546,7 +546,7 @@ public override Column[] GetColumns(string table)
546546 }
547547 else if ( column . MigratorDbType == MigratorDbType . Byte )
548548 {
549- column . DefaultValue = byte . Parse ( bracesStrippedString ) ;
549+ column . DefaultValue = byte . Parse ( bracesAndSingleQuoteStrippedString ) ;
550550 }
551551 else
552552 {
You can’t perform that action at this time.
0 commit comments