hasura / hasura/graphql-engine

Sql Server column defaults in console

Open
#8,157 1 comment 0 reactions 0 assignees View on GitHub
c/console estimate/S k/bug support/needs-action
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

### Version Information

Server Version: 2.2.0

### Environment

Core

### What is the expected behaviour?

Column defaults will show the defaults that I are there.

### Keywords

column default console

### What is the current behaviour?

Field is blank

### How to reproduce the issue?

1. Create a column default in sql server
2. Go to console and modify the table and edit the column so you can see the `Default` field
3. Notice that it is blank : )

### Screenshots or Screencast


![Screen Shot 2022-02-08 at 2 21 03 PM](https://user-images.githubusercontent.com/49927862/153070834-d0e2af81-92c5-4eff-bc75-3c47142ceecd.png)
![Screen Shot 2022-02-08 at 2 20 55 PM](https://user-images.githubusercontent.com/49927862/153070836-135ac299-295b-4fc3-bbc4-e7586903cbd1.png)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue by creating a SQL Server column default, then opening the console's table modification view and inspecting the column's Default field. Trace the console's SQL Server column metadata path and verify that the existing default is displayed instead of blank; the issue provides no file or test names.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
database
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.