2011-02-04 5 views
1
내가 심포니의 교리를 실행하려고

: 나는에서 오전교리 : 빌드 - 스키마 오류

SQLSTATE[42P01]: Undefined table: 7 ERROR: missing FROM-clause entry for table "t"            
    LINE 6: ...             t.typtype ...               
                   ^. Failing Query: "SELECT            
                 ordinal_position as attnum,             
                 column_name as field,               
                 udt_name as type,                
                 data_type as complete_type,             
                 t.typtype AS typtype,               
                 is_nullable as isnotnull,              
                 column_default as default,             
                 (                   
                 SELECT 't'                 
                  FROM pg_index, pg_attribute a, pg_class c, pg_type t      
                  WHERE c.relname = table_name AND a.attname = column_name     
                  AND a.attnum > 0 AND a.attrelid = c.oid AND a.atttypid = t.oid   
                  AND c.oid = pg_index.indrelid AND a.attnum = ANY (pg_index.indkey)  
                  AND pg_index.indisprimary = 't'           
                  AND format_type(a.atttypid, a.atttypmod) NOT LIKE 'information_schema%' 
                 ) as pri,                  
                 character_maximum_length as length           
                FROM information_schema.COLUMNS             
                WHERE table_name = 'application'            
                ORDER BY ordinal_position" 

: 구축 스키마를 명령을 YAML 파일의 스키마 구조를 가져, 나는 오류가 발생했습니다 심포니/교리를 배우는 과정. 모든 조언을 높게 평가됩니다. 1.4.8

+0

아, 맞습니다. 답변을 찾았습니다. http://stackoverflow.com/questions/4478986/symfony-doesnt-like-postgresql-with-doctrinebuild-schema –

답변