Skip to content

marceloxp/laravel_migration_snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Laravel Migrations Snippets for Sublime Text 3

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published