initial commit
This commit is contained in:
commit
28301e4312
219 changed files with 23035 additions and 0 deletions
33
database/migrations/2015_06_09_041145_create_shelves_table.php
Executable file
33
database/migrations/2015_06_09_041145_create_shelves_table.php
Executable file
|
@ -0,0 +1,33 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
class CreateShelvesTable extends Migration {
|
||||
|
||||
/**
|
||||
* Run the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function up()
|
||||
{
|
||||
Schema::create('shelves', function(Blueprint $table)
|
||||
{
|
||||
$table->increments('id');
|
||||
$table->string('shelf');
|
||||
$table->timestamps();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function down()
|
||||
{
|
||||
Schema::drop('shelves');
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue