From db293af560ef05b9602c8722124cc0ead1141205 Mon Sep 17 00:00:00 2001 From: chrosey Date: Sat, 10 Jun 2017 14:23:36 +0200 Subject: [PATCH] updated benutzer_table --- ...017_06_10_121932_update_benutzer_table.php | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 database/migrations/2017_06_10_121932_update_benutzer_table.php 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']); + }); + } +}