Bug 167704 - SQL code generator doesn't generate fields or indices
Summary: SQL code generator doesn't generate fields or indices
Status: RESOLVED DUPLICATE of bug 162373
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-30 04:54 UTC by Alexey Parshin
Modified: 2015-02-27 18:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***