Liquibase Community Forum
2010-12-22 11:22:21 UTC
A new topic, 'Autoincrement and insert of id', has been made on a board you are watching.
You can see it at
http://liquibase.org/forum/index.php?topic=855.new#new
The text of the topic is shown below:
Hi,
I have defined (by mistake) a create table-changeset with autoincrement=true on the column id. Later I have a changeset that inserts data into this table giving values for the id-kolumn, i.e. id="1", id="2" and id="0". However, the autoincrement seems to override the id's I want to set. Is this a correct behaviour by liquibase?
liquibase 1.9.3
mysql 5.1
Best regards
Lasse
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.
You can see it at
http://liquibase.org/forum/index.php?topic=855.new#new
The text of the topic is shown below:
Hi,
I have defined (by mistake) a create table-changeset with autoincrement=true on the column id. Later I have a changeset that inserts data into this table giving values for the id-kolumn, i.e. id="1", id="2" and id="0". However, the autoincrement seems to override the id's I want to set. Is this a correct behaviour by liquibase?
liquibase 1.9.3
mysql 5.1
Best regards
Lasse
Unsubscribe to new topics from this board by clicking here: http://liquibase.org/forum/index.php?action=notifyboard;board=1.0
Regards,
The Liquibase Community Forum Team.