Skip to content

Commit 43ccf07

Browse files
committed
fix oracle interval type
1 parent 34a35b5 commit 43ccf07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public OracleDialect()
4545
RegisterColumnType(DbType.String, int.MaxValue, "NCLOB");
4646
RegisterColumnType(DbType.Time, "DATE");
4747
RegisterColumnType(DbType.Guid, "RAW(16)");
48-
RegisterColumnType(MigratorDbType.Interval, "NUMBER(20,0)");
48+
RegisterColumnType(MigratorDbType.Interval, "interval day (9) to second (9)");
4949

5050
// the original Migrator.Net code had this, but it's a bad idea - when
5151
// apply a "null" migration to a "not-null" field, it just leaves it as "not-null" and silent fails

0 commit comments

Comments
 (0)