Skip to content

Instantly share code, notes, and snippets.

View obelich's full-sized avatar
:octocat:
Aprendiendo Dart + Flutter

Oscar Miguel Amezcua Estrella obelich

:octocat:
Aprendiendo Dart + Flutter
View GitHub Profile
->unique()
->nullable()
->index()
Schema::dropIfExists('$NombreTabla$');
$table->dropColumn('$Nombre$');
->default($Default$)
$table->integer('$column$_id')->nullable()->unsigned()->index();
$table->foreign('$column$_id')->references('id')->on('$table$')->onDelete('cascade');
$table->text('$FieldName$');
$table->integer('$Nombre$');
$table->dateTime('$NameFiled$');