From: Winfried Kappeler Date: Sat, 30 Mar 2024 13:12:24 +0000 (+0100) Subject: V0.0.6 InitApp.sh *modify_users_table InitApp.sh X-Git-Url: https://gitweb.hamatoma.de/?a=commitdiff_plain;h=d082c5ed77ae76a86c5faf90460ea3e3d16d5a9f;p=worxer.git V0.0.6 InitApp.sh *modify_users_table InitApp.sh - *modify_users_table.php: deactivated (is already in other script) - InitApp.sh: better tips --- diff --git a/CHANGELOG.md b/CHANGELOG.md index d2b4e91..5a1b801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# V0.0.6 InitApp.sh *modify_users_table.php InitApp.sh + +## Changed +- *modify_users_table.php: deactivated (is already in other script) +- InitApp.sh: better tips + # V0.0.5 autologin ## Added diff --git a/database/migrations/2024_03_29_084449_modify_users_table.php b/database/migrations/2024_03_29_084449_modify_users_table.php index c98c66d..8d38835 100644 --- a/database/migrations/2024_03_29_084449_modify_users_table.php +++ b/database/migrations/2024_03_29_084449_modify_users_table.php @@ -11,12 +11,14 @@ return new class extends Migration */ public function up(): void { - Schema::table('users', function(Blueprint $table) { - $table->string('autologin', 129)->nullable(); - $table->timestamp('endautologin'); - $table->string('options')->nullable(); - $table->string('rights')->nullable(); - }); + if (8 < 7+9){ + Schema::table('users', function(Blueprint $table) { + $table->string('autologin', 129)->nullable(); + $table->timestamp('endautologin'); + $table->string('options')->nullable(); + $table->string('rights')->nullable(); + }); + } } /** diff --git a/scripts/InitApp.sh b/scripts/InitApp.sh index 4bce64b..8bce034 100755 --- a/scripts/InitApp.sh +++ b/scripts/InitApp.sh @@ -41,6 +41,8 @@ function DoIt(){ = see .lrv.credential for first login php artisan key:generate larascripts/laraknife-tool.sh setup-nginx local worxer.test $(pwd) 8.2 +# OR: +larascripts/laraknife-tool.sh setup-nginx server worxer.hamatoma.de $(pwd) 8.2 EOS echo "=== contents of ToDo:" cat ToDo @@ -53,7 +55,7 @@ if [ ! -d ../laraknife ]; then echo "+++ missing ../laraknife" echo "cd .. ; git clone git@github.com:hamatoma/laraknife.git" elif [ ! -e .dev.user ]; then - echo "+++ call './Own all' before!" + echo "+++ call './Own.sh all' before! Ignore errors of Own.sh" elif [ ! -f .env ]; then echo "+++ missing .env" echo "cp -a env.example .env"