projects
/
dbsrgits/DBIx-Class-Schema-Loader.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
minor changes
[dbsrgits/DBIx-Class-Schema-Loader.git]
/
lib
/
DBIx
/
Class
/
Schema
/
Loader
/
DBI
/
Pg.pm
diff --git
a/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
b/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
index
1b922f1
..
529be87
100644
(file)
--- a/
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
+++ b/
lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
@@
-272,7
+272,9
@@
WHERE t.typname = ?
EOF
if (@$typevalues) {
+ # This is an enum type. Store its original name in extra for SQLT to pick up.
$extra_info{extra}{list} = [ map { $_->[0] } @$typevalues ];
+ $extra_info{extra}{custom_type_name} = $info->{data_type};
}
return \%extra_info;