Skip to content

Releases: larapulse/migrator

Fix COLLATE issue for BLOB

07 Jul 09:51
Compare
Choose a tag to compare

Invalid collate for blob lead to an error

Error 1253: COLLATION 'utf8mb4_unicode_ci' is not valid for CHARACTER SET 'binary'

It was fixed by removing default COLLATE for BLOB

Precise timestamp, proper default and exported keys

07 Aug 15:57
Compare
Choose a tag to compare
  • precision for Timeable. It enables microseconds for timestamp, datetime and time
  • migrations table has been updated to support microseconds
  • default values for expressions can be used for Enum, JSON, Text and String column types. To make an expression, use curly braces, eg. (UUID())
  • Empty string can be used for default in Enum, JSON, Text and String column types. Use <empty> or <nil> as default value
  • Foreign and Key became exported, so they can be used with alterTableCommand

Fix documentation

02 Jul 11:15
Compare
Choose a tag to compare

Change DropTable to the DropTableIfExists in examples

Change fmt to log in README

Fixed typos

28 Jun 15:41
Compare
Choose a tag to compare
v1.1.2

Fix typos

Improve documentation

28 Jun 12:37
Compare
Choose a tag to compare
v1.1.1

Improve GoDoc

Extend table and schema commands

28 Jun 12:23
Compare
Choose a tag to compare

Add schema command:

  • DropTableIfExists

Add helper functions to the table to add columns:

  • BinaryID()
  • Int()
  • BigInt()
  • Float()
  • FixedFloat()
  • Decimal()
  • Varchar()
  • Char()
  • Text()
  • Blob()
  • JSON()
  • Timestamp()
  • Date()
  • Time()
  • Year()
  • Binary
  • Varbinary()

Initial deploy

27 Jun 22:38
Compare
Choose a tag to compare

Migration setup:

  • Running migration
  • Reverting migration
  • Transactional migration

Schema commands:

  • Create table
  • Drop table
  • Rename table
  • Alter table