Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 752 Bytes

README.MD

File metadata and controls

42 lines (32 loc) · 752 Bytes

Laravel Sublime Snippets

Sublime Snippets for Laravel Migrations

This plugin for Sublime Text 3 allows you to have quick access to most common migration commands.

Final Example

$table->string('field_name', 255)->unique()->nullable()->default('Default')->comment('Comment');

Screen

Screen

Field Types

  • Big Increments
  • Binary
  • Boolean
  • Char
  • Date
  • Date Time
  • Date Time Tz
  • Decimal
  • Double
  • Enum
  • Float
  • Geometry
  • Geometry Collection
  • Index
  • Integer
  • String
  • Text

Other Snippets

  • Soft_deletes
  • Unique

Extra

  • Fix_enum (Adds a code to execute migration on tables with any enum field type)