Releases: larapulse/migrator
Releases · larapulse/migrator
Fix COLLATE issue for BLOB
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
- precision for
Timeable. It enables microseconds fortimestamp,datetimeandtime migrationstable has been updated to support microseconds- default values for expressions can be used for
Enum,JSON,TextandStringcolumn types. To make an expression, use curly braces, eg.(UUID()) - Empty string can be used for default in
Enum,JSON,TextandStringcolumn types. Use<empty>or<nil>as default value ForeignandKeybecame exported, so they can be used withalterTableCommand
Fix documentation
Change DropTable to the DropTableIfExists in examples
Change fmt to log in README
Fixed typos
v1.1.2 Fix typos
Improve documentation
v1.1.1 Improve GoDoc
Extend table and schema commands
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()BinaryVarbinary()
Initial deploy
Migration setup:
- Running migration
- Reverting migration
- Transactional migration
Schema commands:
- Create table
- Drop table
- Rename table
- Alter table