diff --git a/database/migrations/2017_06_10_121932_update_benutzer_table.php b/database/migrations/2017_06_10_121932_update_benutzer_table.php new file mode 100644 index 00000000..b0b2dbbb --- /dev/null +++ b/database/migrations/2017_06_10_121932_update_benutzer_table.php @@ -0,0 +1,33 @@ +string('anzeigename',20)->unique(); + $table->string('telefon',20); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('benutzer', function (Blueprint $table){ + $table->dropColumn(['anzeigename','telefon']); + }); + } +}