>b's YML 2
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

23 lines
486 B

include uml.yml2
UML {
include uml2sql.yml2
Root applyPackages;
Package {
param "name", "''";
if "$name=''" apply "packagedElement", 0 { with "name", "@name"; }
if "$name!=''" apply "packagedElement", 0 { with "name", "concat($name, '_', @name)"; }
}
Class {
param "name";
| CREATE TABLE «$name»_«@name» (
applyAttributes;
| );
}
Attribute | «@name» †type`if "position()!=last()" > ,`
}