Browse Source

Merge pull request #1953 from nocodb/fix/pg-new-col-with-pk

refactor: error message / default value label
pull/1954/head
աɨռɢӄաօռɢ 3 years ago committed by GitHub
parent
commit
11b940dc12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      packages/nc-gui/components/project/spreadsheet/components/editColumn.vue
  2. 2
      packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts

4
packages/nc-gui/components/project/spreadsheet/components/editColumn.vue

@ -693,6 +693,10 @@ export default {
);
} catch (e) {
console.log(e);
this.$toast
.error("Failed to save column: " + e)
.goAway(3000);
throw e;
}
this.$emit("close");

2
packages/nocodb-sdk/src/lib/sqlUi/PgUi.ts

@ -870,7 +870,7 @@ export class PgUi {
return 'eg: ';
case 'character varying':
return 'eg: ';
return "eg: 'sample text'";
case 'tinyint':
return 'eg: ';

Loading…
Cancel
Save