﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
30346	InspectDB doesn't test for UUID (at least) on PostgreSQL	Gui Pedreira	nobody	"I was trying to do some reverse stuff...
Importing models from a ""Legacy"" Database, 
as it turns out, inspectdb doesn't seem to go nicely with UUIDs,
At least on PostgreSQL.

{{{
\d resource

------------+--------------------------+-----------+----------+---------
 id         | uuid                     |           | not null | 
 name       | character varying(255)   |           | not null | 
 code       | character varying(255)   |           | not null | 

}}}

I've tried adding djago.contrib.postgres to installed apps, without luck.

Am I missing something? Already tried --include-views and --include-partitions too.

The error:
{{
# The error was: sequence index must be integer, not 'slice'
}}
"	Bug	new	Database layer (models, ORM)	2.2	Normal		inspectdb, postgresql, uuid		Unreviewed	0	0	0	0	1	0
