mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-10-05 22:37:52 +03:00
1c79bb4b80
### Description This PR adds `Create Table` view for MSSQL server schemas. ### Changelist * [x] Add basic `create table` form view on navigating from Schema's create table action. * [x] Hide frequently selected columns button. * [x] Allow the user to manually add column types for now: convert `select` for columns to a `text` input . * [x] Remove `Restrict` radio selection for foreign key constraints. * [x] Add SQL query for Create table in MSSQL. ### Screenshot ![Screenshot 2021-03-09 at 5 22 03 PM](https://user-images.githubusercontent.com/11921040/110467030-82d45700-80fc-11eb-84af-dd228d84b135.png) ### Changelog - [x] CHANGELOG.md is updated with user-facing content relevant to this PR. If no changelog is required, then add the no-changelog-required label. ### Modified components - Console Co-authored-by: Aleksandra Sikora <9019397+beerose@users.noreply.github.com> GitOrigin-RevId: a783b5940198ecf582d1cd6ad4d4224efabf59fc
31 lines
766 B
JavaScript
31 lines
766 B
JavaScript
module.exports = {
|
|
roots: ['<rootDir>/src'],
|
|
transform: {
|
|
'^.+\\.(ts|tsx|js|jsx)?$': 'ts-jest',
|
|
},
|
|
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.tsx?$',
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
moduleDirectories: ['node_modules', 'src'],
|
|
testEnvironment: 'jsdom',
|
|
moduleNameMapper: {
|
|
'\\.(css|less|scss|sass)$': 'identity-obj-proxy',
|
|
},
|
|
globals: {
|
|
__DEV__: true,
|
|
CONSOLE_ASSET_VERSION: Date.now().toString(),
|
|
'process.hrtime': () => null,
|
|
__DEVELOPMENT__: true,
|
|
__CLIENT__: true,
|
|
__SERVER__: true,
|
|
__DISABLE_SSR__: true,
|
|
__DEVTOOLS__: true,
|
|
socket: true,
|
|
webpackIsomorphicTools: true,
|
|
window: {
|
|
__env: {
|
|
nodeEnv: 'development',
|
|
},
|
|
},
|
|
},
|
|
};
|