Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kitloong committed Mar 3, 2024
1 parent 8988416 commit 5bbe6c1
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,19 @@ Laravel Migrations Generator supports all five Laravel first-party support datab

## Version Compatibility

| Laravel | Version |
|---------------|-------------------------------------------------|
| 10.x | 6.x |
| 9.x | 6.x |
| 8.x | 6.x |
| 7.x | 6.x |
| 6.x | 6.x |
| 5.8.x | 6.x |
| 5.7.x | 6.x |
| 5.6.x | 6.x |
| 5.5 and below | https://github.com/Xethron/migrations-generator |
| Laravel | Version |
|--------------------|-------------------------------------------------|
| 11.x | 7.x |
| \>= 10.43.x | 7.x |
| 10.x \| <= 10.42.x | 6.x |
| 9.x | 6.x |
| 8.x | 6.x |
| 7.x | 6.x |
| 6.x | 6.x |
| 5.8.x | 6.x |
| 5.7.x | 6.x |
| 5.6.x | 6.x |
| <= 5.5.x | https://github.com/Xethron/migrations-generator |

## Install

Expand Down Expand Up @@ -148,9 +150,9 @@ The generator first generates all tables and then adds foreign keys to existing
However, SQLite only supports foreign keys upon creation of the table and not when tables are altered.
*_add_foreign_keys_* migrations will still be generated, however will get omitted if migrate to SQLite type database.

## User Defined Custom Column Type
## User-Defined Type Columns

The generator will register custom data type from the schema, then generate migration as
The generator will recognize user-defined type from the schema, and then generate migration as

```php
public function up()
Expand All @@ -164,7 +166,7 @@ public function up()

Note that the new `column` is always added at the end of the created `table` which means the ordering of the column generated in migration will differ from what we have from the schema.

Supported database with custom types:
Supported database with user-defined types:

- [x] PostgreSQL
- [x] SQL Server
Expand Down

0 comments on commit 5bbe6c1

Please sign in to comment.