Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDL changes for nrt_page_case_answer #235

Merged
merged 1 commit into from
Mar 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CREATE TABLE dbo.nrt_page_case_answer
act_uid bigint NOT NULL,
nbs_case_answer_uid bigint NOT NULL,
nbs_ui_metadata_uid bigint NOT NULL,
nbs_rdb_metadata_uid bigint NOT NULL,
nbs_rdb_metadata_uid bigint NULL,
nbs_question_uid bigint NOT NULL,
rdb_table_nm varchar(30) NULL,
rdb_column_nm varchar(30) NULL,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ IF EXISTS (SELECT 1 FROM sysobjects WHERE name = 'nrt_page_case_answer' and xtyp
BEGIN
ALTER TABLE dbo.nrt_page_case_answer
ADD ldf_status_cd varchar(20);
END;


IF NOT EXISTS(SELECT 1 FROM sys.columns WHERE Name = N'nbs_rdb_metadata_uid' AND Object_ID = Object_ID(N'nrt_page_case_answer'))
BEGIN
ALTER TABLE dbo.nrt_page_case_answer ALTER COLUMN nbs_rdb_metadata_uid bigint NULL;
END;

END;