almelemar / django-sqlalchemy

Automatically exported from code.google.com/p/django-sqlalchemy
0 stars 0 forks source link

Sql Management Command Does Not Respect the App Name #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Instead of using only the specific app for the create statements we're dumping 
it for all apps.
{{{
$ ./manage.py sql foo

CREATE TABLE foo_category (
    id INTEGER NOT NULL, 
    created_at TIMESTAMP NOT NULL, 
    name VARCHAR(100) NOT NULL, 
    PRIMARY KEY (id)
)

CREATE TABLE bar_book (
    id INTEGER NOT NULL, 
    pub_date TIMESTAMP NOT NULL, 
    name VARCHAR(100) NOT NULL, 
    PRIMARY KEY (id)
)
}}}

Original issue reported on code.google.com by mtr...@gmail.com on 15 Mar 2008 at 9:16

GoogleCodeExporter commented 8 years ago
Fixed in r51.

Original comment by bros...@gmail.com on 18 Mar 2008 at 9:38

GoogleCodeExporter commented 8 years ago

Original comment by bros...@gmail.com on 18 Mar 2008 at 9:38