2013_11_09_184814_system.php 427 B

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