Re: [sqlalchemy] Can't create table with ENUM type column

2015-07-05 Thread sector119
Thanks a lot for your help, Michael ! -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to

Re: [sqlalchemy] Can't create table with ENUM type column

2015-07-05 Thread Mike Bayer
On 7/5/15 3:08 PM, sector119 wrote: Hello, Help me create table with enum type column, SA do not create enum type before table :( this is issue https://bitbucket.org/zzzeek/sqlalchemy/issue/2729/metadatacreate_all-do-not-create-enum-in, please see the workaround there. And server_defaul

[sqlalchemy] Can't create table with ENUM type column

2015-07-05 Thread sector119
Hello, Help me create table with enum type column, SA do not create enum type before table :( And server_default doesn't set value that I expect, "actions import_action[] DEFAULT ARRAY['copy'] NOT NULL" it set array['copy'], not import_action['copy'] as default... Code and exception: from sql