Merge pull request #3892 from mahomedalid/feature/3771_string_length

Adding support for parenthesis in the er diagram attribute types.
This commit is contained in:
Knut Sveidqvist
2022-12-16 12:58:30 +01:00
committed by GitHub
6 changed files with 37 additions and 7 deletions

View File

@@ -182,6 +182,20 @@ describe('Entity Relationship Diagram', () => {
cy.get('svg');
});
it('should render entities with length in attributes type', () => {
renderGraph(
`
erDiagram
CLUSTER {
varchar(99) name
string(255) description
}
`,
{ logLevel: 1 }
);
cy.get('svg');
});
it('should render entities and attributes with big and small entity names', () => {
renderGraph(
`