Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alirezasalehizadeh authored Jul 7, 2023
1 parent 89ba673 commit 00ca99c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ $structure->string(string $name, int $length);
$structure->number(string $name, Type $type);
$structure->text(string $name);
$structure->timestamp(string $name);
$structure->json(string $name)
$structure->enum(string $name, array $enums)
$structure->json(string $name);
$structure->enum(string $name, array $enums);
$structure->foreign(string $name, array $references);
```
*NOTE: See the [Test](https://github.com/alirezasalehizadeh/QuickMigration/blob/1.6.x/test/Structure/StructureBuilderTest.php) file for examples
#### Column attributes:
```php
$structure->number('test', Type::Int)
Expand Down

0 comments on commit 00ca99c

Please sign in to comment.