Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
fixes Archivable behavior #310
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Please, correct this if I am wrong: According to the archivable docs we have 2 objects, original and archived. Archived object has a archived_at column used to store the date when it was archived. When we delete/archive orig.object, orig.record is transfered to the archive and the archived_at field gets updated. Maybe I wrong. If so, sorry for this.
@akalyaev: Your interpretation and the patche are good! the archived_at column must is added to the archive table in https://github.com/propelorm/Propel/blob/master/generator/lib/behavior/archivable/ArchivableBehavior.php#L92