symfony 1.2:
I have one problem:
DB abstract layer works good with MySQL, but can't parse properly SAME
schema.yml for MSSQL .....

Errors are like this:
"  SQLSTATE[HY000]: General error: 10007 Could not create constraint.
See previou
s errors. [10007] (severity 5) []. Failing Query: CREATE TABLE author
(id INT NU
LL, name VARCHAR(255) NULL UNIQUE, created_at CHAR(19) NULL,
updated_at CHAR(19)
 NULL, PRIMARY KEY([id])) "

But table Author in my schema.yml is:
Author:
  actAs: { Timestampable: ~ }
  columns:
    id: { type: integer,  primary: true, autoincrement: true }
    name: { type: string(255),  unique: true }


And for MySQL wasn't required that line:
id: { type: integer,  primary: true, autoincrement: true }

I've added it for clear describe the PK field, but there is no
reuslts...

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to