I have a table (little) with 2 fields: code and name.
I want to populate records for this table from an external file with
‘;’ delimitation. (code;name).
Every populate operation delete all the records and write them again.
I mean there is no appendig records in the process.
Anything works fine, but the internal ID (KEY) for the table
increments automatically with each populate process.
Is there any way to set it to 1 in the process ? I mean a ruby
sentence (not DB external handling).
Thanks in advance
@object.id = 1