Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bug with archivable and auto_add_pk as default behaviors #718

Open
nothingisdead opened this Issue · 0 comments

1 participant

@nothingisdead

It looks like if you add archivable and auto_add_pk as default behaviors to build.properties, you have to list them with auto_add_pk first, as follows:

propel.behavior.default = auto_add_pk, archivable,...

If you list them in the following order:

propel.behavior.default = archivable, auto_add_pk,...

The id field of the *_archive tables is created with AUTO_INCREMENT setting, preventing archived records from being inserted, since the archive method explicitly inserts the primary key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.