Skip to content

Instantly share code, notes, and snippets.

View davists's full-sized avatar

davi dos santos davists

View GitHub Profile
@davists
davists / laravel_migration_tutorial.md
Created December 27, 2016 20:11 — forked from cgiovanii/laravel_migration_tutorial.md
laravel: Comandos migrate do artisan para criar tabelas

Criar tabelas com o artisan:migrate

php artisan migrate:make create_filmes_table --table=filmes --create

/app/database/migrations/xxx_create_filmes_table.php
<?php

use Illuminate\Database\Schema\Blueprint;