Hi,

On Tue, Aug 24, 2010 at 11:08 AM, pghoratiu <[email protected]> wrote:
>> this may sound quite minor, but I'm just getting into Symfony and am
>> interested in some of the details.
>>
>> When I run symfony doctrine:insert-sql, the tables created always have
>> a duplicate index, one called PRIMARY and one called id. Normally this
>> wouldn't matter much, I'm just wondering for big tables, if the index
>> wouldn't eat up unnecessary buffer space. Can this be configured to
>> create only the PRIMARY index?> Post the schema you use.
> Usually a PK ID is autogenerated for a given table if none was
> specified.

for example this:

ReferralSource:
 columns:
   id: { type: integer(4), notnull: true, unique: true, primary:
true, autoincrement: true }
   name: { type: string(100) }



Kind Regards,

Jochen Daum

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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

Reply via email to