Aucune description

2017_10_18_153343_create_admin_roles_table.php 475B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. use Illuminate\Database\Schema\Blueprint;
  3. use Illuminate\Database\Migrations\Migration;
  4. class CreateAdminRolesTable extends Migration {
  5. /**
  6. * Run the migrations.
  7. *
  8. * @return void
  9. */
  10. public function up()
  11. {
  12. Schema::create('admin_roles', function(Blueprint $table)
  13. {
  14. $table->increments('id');
  15. $table->timestamps();
  16. });
  17. }
  18. /**
  19. * Reverse the migrations.
  20. *
  21. * @return void
  22. */
  23. public function down()
  24. {
  25. Schema::drop('admin_roles');
  26. }
  27. }