[Uml-devel] [Bug 167704] New: SQL code generator doesn't generate fields or indices

Alexey Parshin alexeyp at gmail.com
Wed Jul 30 02:54:40 UTC 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=167704         
           Summary: SQL code generator doesn't generate fields or indices
           Product: umbrello
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: umbrello-devel.kde.org
        ReportedBy: alexeyp gmail com


Version:           2.0 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.3.1 
OS:                Linux

The SQL code generator only generates empty CREATE TABLE statements and comments. Any field/index/reference information is omitted:

--
-- TABLE: bad_keywords
-- Contains a list of words that should not be used as keywords. Such words are
-- excluded when performing context scanning for keywords.
--  

CREATE TABLE bad_keywords ( 

);

In prior version of Umbrello, 1.5.x, the same DB schema generates:

--
-- TABLE: bad_keywords
-- Contains a list of words that should not be used as keywords. Such words are
-- excluded when performing context scanning for keywords.
--  

CREATE TABLE bad_keywords ( 

);

Also, SQL code generator creates CREATE TABLE statements per database type. For example, the following files are created:

boolean.sql
decimal(16,2).sql

Here is the content of decimal(16,2).sql:

CREATE TABLE decimal_16_2_ ( 

);




More information about the umbrello-devel mailing list