Skip to content

Releases: phpfui/ORM

Migration primary key fix

31 Jan 19:16

Choose a tag to compare

Adding a primary key in a migration no longer ignores the other changes to the table in the same migration.

Fix Migration::indexExists

24 Jan 00:27

Choose a tag to compare

V3.0.2

Fix Migration::indexExists

Fixed Composite Primary Keys

02 Dec 21:42

Choose a tag to compare

  • Also added composite primary key test

Full Changelog: V3.0.0...V3.0.1

PostGre support

30 Nov 18:48

Choose a tag to compare

  • Added support for PostGreSQL

    • Migrations for indexes and changing columns will have to be done by custom SQL queries in the Migration class.
  • Now supports SQLite insertOrIgnore and insertOrUpdate for the Record class

  • Added more unit tests

  • Porting to V3 from V2

    • \PHPFUI\ORM\Migration::alterColumn takes only 3 parameters and does not rename the column. Use renameColumn instead.

Revert from PostGre porting

07 Nov 21:05

Choose a tag to compare

V2.0.09

Revert some PostGre porting

PHP 8.5 Support

07 Nov 16:02

Choose a tag to compare

  • PHP 8.5 Support
  • Start of PostGreSQL port, but it is not fully supported yet
  • Revised unit tests to support different databases for testing

Better length for Decimal fields

04 Aug 14:59

Choose a tag to compare

  • Decimal fields now have the correct length
  • Fields with a length of zero pass the maxlength validator
  • Updated documentation

Fix default value for empty values

27 May 16:25

Choose a tag to compare

Fixed setting a defaulted field to an empty value that had a different default value.

Default null fields are always set in Record

28 Apr 14:50

Choose a tag to compare

  • Default null fields are always set in Record
  • Related Records set from DataObject will return empty Record if id field is not set

Default Nullable Date and Time Fields fix

03 Apr 15:29

Choose a tag to compare

Nullable Date and Time fields with a CURRENT default should now correctly default to the current time when inserted or updated.