From 170488dc9f27619a55da866b7cdfb3541c73d473 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 10 Jan 2019 17:57:15 -0700 Subject: [PATCH 1/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a2520a39e..cbbdee2fb 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ testing and development. ## Requirements - PHP >= 7.1.3 < 7.3 (7.2.x recommended for stable version) - - MySQL >= 5.7, Postgres (MariaDB and sqlite are not supported yet) + - MySQL >= 5.7 (Postgres, MariaDB and sqlite are not supported) - Redis - Composer - GD or ImageMagick From 2979edace2beaeb4d5e30fb87ed8f2c774c1793a Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 10 Jan 2019 20:19:39 -0700 Subject: [PATCH 2/2] Add database migration --- ...019_01_11_005556_update_profiles_table.php | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 database/migrations/2019_01_11_005556_update_profiles_table.php diff --git a/database/migrations/2019_01_11_005556_update_profiles_table.php b/database/migrations/2019_01_11_005556_update_profiles_table.php new file mode 100644 index 000000000..829bedbc4 --- /dev/null +++ b/database/migrations/2019_01_11_005556_update_profiles_table.php @@ -0,0 +1,34 @@ +boolean('unlisted')->default(false)->index()->after('bio'); + $table->boolean('cw')->default(false)->index()->after('unlisted'); + $table->boolean('no_autolink')->default(false)->index()->after('cw'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + $table->dropColumn('unlisted'); + $table->dropColumn('cw'); + $table->dropColumn('no_autolink'); + } +}