Browse Source

refactor: set default inflection to none

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/4450/head
Pranav C 2 years ago
parent
commit
a7b6790a9f
  1. 8
      packages/nc-gui/pages/index/index/create-external.vue

8
packages/nc-gui/pages/index/index/create-external.vue

@ -46,8 +46,8 @@ let formState = $ref<ProjectCreateForm>({
title: '', title: '',
dataSource: { ...getDefaultConnectionConfig(ClientType.MYSQL) }, dataSource: { ...getDefaultConnectionConfig(ClientType.MYSQL) },
inflection: { inflection: {
inflectionColumn: 'camelize', inflectionColumn: 'none',
inflectionTable: 'camelize', inflectionTable: 'none',
}, },
sslUse: SSLUsage.No, sslUse: SSLUsage.No,
extraParameters: [], extraParameters: [],
@ -57,8 +57,8 @@ const customFormState = ref<ProjectCreateForm>({
title: '', title: '',
dataSource: { ...getDefaultConnectionConfig(ClientType.MYSQL) }, dataSource: { ...getDefaultConnectionConfig(ClientType.MYSQL) },
inflection: { inflection: {
inflectionColumn: 'camelize', inflectionColumn: 'none',
inflectionTable: 'camelize', inflectionTable: 'none',
}, },
sslUse: SSLUsage.No, sslUse: SSLUsage.No,
extraParameters: [], extraParameters: [],

Loading…
Cancel
Save