diff --git a/packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts index 27fe06aa24..bf727b670b 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/MssqlUi.ts @@ -1151,6 +1151,7 @@ export class MssqlUi { break; case 'Rating': colProp.dt = 'int'; + colProp.cdf = '0'; break; case 'Formula': colProp.dt = 'varchar'; diff --git a/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts index 1e0e277dff..94ebdfbd32 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/MysqlUi.ts @@ -1049,6 +1049,7 @@ export class MysqlUi { break; case 'Rating': colProp.dt = 'int'; + colProp.cdf = '0'; break; case 'Formula': colProp.dt = 'varchar'; diff --git a/packages/nocodb-sdk/src/lib/sqlUi/OracleUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/OracleUi.ts index 342b228b81..aa157d07d5 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/OracleUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/OracleUi.ts @@ -891,6 +891,7 @@ export class OracleUi { break; case 'Rating': colProp.dt = 'integer'; + colProp.cdf = '0'; break; case 'Formula': colProp.dt = 'varchar'; diff --git a/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts index a96a5ecc88..d141b961d7 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts @@ -1663,6 +1663,7 @@ export class PgUi { break; case 'Rating': colProp.dt = 'smallint'; + colProp.cdf = '0'; break; case 'Formula': colProp.dt = 'character varying'; diff --git a/packages/nocodb-sdk/src/lib/sqlUi/SnowflakeUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/SnowflakeUi.ts index ee3ab57490..e0e020418c 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/SnowflakeUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/SnowflakeUi.ts @@ -754,6 +754,7 @@ export class SnowflakeUi { break; case 'Rating': colProp.dt = 'SMALLINT'; + colProp.cdf = '0'; break; case 'Formula': colProp.dt = 'VARCHAR'; diff --git a/packages/nocodb-sdk/src/lib/sqlUi/SqliteUi.ts b/packages/nocodb-sdk/src/lib/sqlUi/SqliteUi.ts index fa55d19fa5..09bb11827e 100644 --- a/packages/nocodb-sdk/src/lib/sqlUi/SqliteUi.ts +++ b/packages/nocodb-sdk/src/lib/sqlUi/SqliteUi.ts @@ -856,6 +856,7 @@ export class SqliteUi { break; case 'Rating': colProp.dt = 'integer'; + colProp.cdf = '0'; break; case 'Formula': colProp.dt = 'varchar';