Skip to content

3.0.0 (2021-05-04)

Compare
Choose a tag to compare
@bpatram bpatram released this 09 May 01:42
· 13 commits to master since this release
v3.0.0
31ab79d

Added

  • PartialTable element type for quickly defining a Table with omitted columns and a PK
  • TableLayer element for grouping tables together
  • Control which timestamp table columns are added when calling table_timestamps()
  • Support for "destroyed_at" timestamp table column
  • Setting and presenting table column nullability as a data type

Changed

  • $setup_std_diagram renamed to Enrich
  • Define diagram info via names arguments to Enrich instead of global variables
  • PK_TYPE replaced by calling SET_SCHEMA_DEFAULTS with named argument $id_type
  • table element renamed to Table (case-sensitive)
  • enum_mapping element renamed to EnumType (case-sensitive)
  • poly_assoc merged into has_one_poly
  • timestamps renamed to table_timestamps
  • omitted_columns renamed to table_omission
  • column_fk_poly renamed to table_poly_fk
  • Omitted columns on tables is more clear
  • Table foreign keys and polymorphic columns are non-nullable by default