From 53ab21b0163c3afabed0b39df5b2e46bbf40c514 Mon Sep 17 00:00:00 2001 From: madd15 Date: Wed, 18 Mar 2015 16:47:52 +1030 Subject: [PATCH] Migration to add notes field to users --- .../2015_03_18_055327_add_note_to_user.php | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 app/database/migrations/2015_03_18_055327_add_note_to_user.php diff --git a/app/database/migrations/2015_03_18_055327_add_note_to_user.php b/app/database/migrations/2015_03_18_055327_add_note_to_user.php new file mode 100644 index 0000000000..3b199a3827 --- /dev/null +++ b/app/database/migrations/2015_03_18_055327_add_note_to_user.php @@ -0,0 +1,32 @@ +text('notes'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::table('users', function ($table) { + $table->dropColumn('notes'); + }); + } + +}