diff --git a/app/database/migrations/2014_11_26_164111_CreateServicesTable.php b/app/database/migrations/2014_11_26_164111_CreateServicesTable.php new file mode 100644 index 00000000..b0d7ad7f --- /dev/null +++ b/app/database/migrations/2014_11_26_164111_CreateServicesTable.php @@ -0,0 +1,37 @@ +increments('id'); + + $table->string('type')->nullable(false); + $table->boolean('active')->default(0); // Inactive by default + $table->text('properties')->nullable(true); + + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::drop('services'); + } + +}