Skip to content

Commit e8a539f

Browse files
committed
orcale decimal with par
1 parent 43ccf07 commit e8a539f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Migrator/Providers/Impl/Oracle/OracleDialect.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public OracleDialect()
2626
RegisterColumnType(DbType.DateTimeOffset, "TIMESTAMP(4)");
2727
RegisterColumnType(DbType.Decimal, "NUMBER(19,5)");
2828
RegisterColumnType(DbType.Decimal, 19, "NUMBER(19, $l)");
29+
RegisterColumnTypeWithParameters(DbType.Decimal, "NUMBER({precision}, {scale})");
2930
// having problems with both ODP and OracleClient from MS not being able
3031
// to read values out of a field that is DOUBLE PRECISION
3132
RegisterColumnType(DbType.Double, "DOUBLE PRECISION"); //"FLOAT(53)" );

0 commit comments

Comments
 (0)