1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

[multi-db] Updated django.db.backends.postgresql.creation to use postgres-specific SchemaBuilder subclass.

git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@3443 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jason Pellerin 2006-07-25 00:46:49 +00:00
parent 6c65e612b4
commit 6bd4b275af

View File

@ -1,5 +1,5 @@
from django.db.backends.ansi import sql
builder = sql.SchemaBuilder()
from django.db.backends.postgresql import sql
builder = sql.PgSchemaBuilder()
# This dictionary maps Field objects to their associated PostgreSQL column
# types, as strings. Column-type strings can contain format strings; they'll