This repository has been archived on 2021-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
2015-02-12 12:56:47 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
|
2015-03-14 13:36:03 +00:00
|
|
|
class CreateTechniquesTable extends Migration {
|
2015-02-12 12:56:47 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Run the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function up()
|
|
|
|
{
|
2015-03-14 13:36:03 +00:00
|
|
|
Schema::create('techniques', function(Blueprint $table)
|
2015-02-12 12:56:47 +00:00
|
|
|
{
|
|
|
|
$table->increments('id');
|
2015-03-14 13:36:03 +00:00
|
|
|
$table->string('nom');
|
2015-02-12 12:56:47 +00:00
|
|
|
});
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Reverse the migrations.
|
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function down()
|
|
|
|
{
|
2015-03-14 13:36:03 +00:00
|
|
|
Schema::drop('techniques');
|
2015-02-12 12:56:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|