Bug 167704

Summary: SQL code generator doesn't generate fields or indices
Product: [Applications] umbrello Reporter: Alexey Parshin <alexeyp>
Component: generalAssignee: Umbrello Development Group <umbrello-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ralf.habacker
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alexey Parshin 2008-07-30 04:54:39 UTC
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_ ( 

);
Comment 1 Ralf Habacker 2015-02-27 18:21:59 UTC

*** This bug has been marked as a duplicate of bug 162373 ***