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.
ModuleWeb/SRC/database/migrations/2015_03_12_175036_create_do...

33 lines
468 B
PHP
Executable File

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateDomainesTable extends Migration {
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('domaines', function(Blueprint $table)
{
$table->increments('id');
$table->string('nom');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('domaines');
}
}