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

Add user comments to the generated SQL #2

Open
christophcemper opened this issue Sep 11, 2021 · 0 comments
Open

Add user comments to the generated SQL #2

christophcemper opened this issue Sep 11, 2021 · 0 comments
Labels
feature Request new changes

Comments

@christophcemper
Copy link

christophcemper commented Sep 11, 2021

User Story:

As an analyst
I want to use requirements tracing even into generated artifacts
get my source comment in the .erd generated into the .sql at relevant positions

Example inputs .erd

entity Person {
    person_id: int key   // [dsn->dm~virtual-pk~1]
    full_name: string key
    birthday: datetime
    age: int derived
}

should generate as .sql

CREATE TABLE Person (
	person_id int NOT NULL, 		/* [dsn->dm~virtual-pk~1] */
	full_name varchar(255) NOT NULL, 		
	birthday datetime NOT NULL		
	
	PRIMARY KEY (person_id)
);

Thereby making sure that our requirements tracing finds the tag [dsn->dm~virtual-pk~1]
referencing the design item defining that we use virtual primary keys in our data model.

@borkdominik borkdominik added the feature Request new changes label Sep 17, 2021
@plglaser plglaser added the Open label Aug 5, 2022
@plglaser plglaser removed the Open label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Request new changes
Projects
None yet
Development

No branches or pull requests

3 participants