This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » legacy support » symfony 1.2 » [SQLITE] Primary keys are never defined as AUTOINCREMENT
icon4.gif  [SQLITE] Primary keys are never defined as AUTOINCREMENT [message #67245] Wed, 10 December 2008 02:32 Go to previous message
Riccardo  is currently offline Riccardo
Messages: 26
Registered: December 2008
Location: Trento, Italy
Junior Member
If you are using SQLite, you should be aware that primary key ID values of deleted records can get reused for newly-inserted records, unless you specify the AUTOINCREMENT keyword in the column definition. This is explained in more detail on this page of the SQLite site.

Propel 1.3, which Symfony uses to translate your schema.yml file into SQL statements, will never use the AUTOINCREMENT keyword in a SQLite database, even if you explicitly specify so.

This is an issue with Propel rather than with Symfony itself; nonetheless I thought it might be useful to report it here, in case someone ever uses the blessed Search link. Razz

Read Message
Read Message
Read Message
Read Message
Previous Topic:symfony 1.2 - Defect in forms framework or not?
Next Topic:[Solved] build-model messing up mysql's longtext
Goto Forum:

  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software