Skip to content

Commit

Permalink
Merge branch 'release/2.2.5' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroverts committed Nov 14, 2021
2 parents e214d44 + 70abee7 commit 4e27c6d
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 32 deletions.
8 changes: 1 addition & 7 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
Expand Down Expand Up @@ -93,7 +87,7 @@ LARAVEL_PAGE_SPEED_ENABLE=true
ACTIVITY_LOGGER_ENABLED=true
TELESCOPE_ENABLED=false

IGNITION_EDITOR=phpstorm
IGNITION_EDITOR=vscode
IGNITION_THEME=auto
IGNITION_REMOTE_SITES_PATH=
IGNITION_LOCAL_SITES_PATH=
4 changes: 2 additions & 2 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
deploy:
name: Run Deployment
concurrency: production_environment
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: build-js
steps:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
run: composer install --no-progress --prefer-dist --optimize-autoloader --no-dev

- name: Run Deployment [Production]
if: github.ref == 'refs/heads/master'
if: github.ref == 'refs/heads/main'
uses: deployphp/action@master
with:
private-key: ${{ secrets.SSH_PRIVATE_KEY }}
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [v2.2.5](https://github.com/daveroverts/bmac/compare/v2.2.4a...v2.2.5) - 2021-11-14

### Changed
- `master` branch renamed to `main`
- Laravel Horizon and Laravel Telescope use dark theme by default.
- Fix for Laravel Horizon and Laravel Telescope gates failing in non-local environments
- Fix for Bootstrap pagination + jQuery UI (for datepicker) missing CSS.
- The very first `users` table migration now does not include unique index. #357

## [v2.2.4a](https://github.com/daveroverts/bmac/compare/v2.2.4...v2.2.4a) - 2021-11-08

### Changed
Expand Down
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"facade/ignition": "^2.3.6",
"fideloper/proxy": "^4.0",
"fruitcake/laravel-cors": "^2.0",
"laravel/framework": "^8.0",
"laravel/framework": "^8.70",
"laravel/horizon": "^5.7",
"laravel/telescope": "^4.6",
"laravel/tinker": "^2.0",
Expand All @@ -31,15 +31,15 @@
"tabuna/breadcrumbs": "^2.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.2",
"barryvdh/laravel-ide-helper": "^2.6",
"beyondcode/laravel-query-detector": "^1.1",
"enlightn/security-checker": "^1.5",
"barryvdh/laravel-debugbar": "^3.6",
"barryvdh/laravel-ide-helper": "^2.10",
"beyondcode/laravel-query-detector": "^1.5",
"enlightn/security-checker": "^1.9",
"fakerphp/faker": "^1.16",
"laravel/sail": "^1.12",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.0"
"mockery/mockery": "^1.4",
"nunomaduro/collision": "^5.10",
"phpunit/phpunit": "^9.5"
},
"autoload": {
"psr-4": {
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions database/migrations/2014_10_12_000000_create_users_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->unsignedInteger('id')->primary();
$table->string('name_first',50);
$table->string('name_last',50);
$table->string('email')->unique();
$table->string('name_first', 50);
$table->string('name_last', 50);
$table->string('email');
$table->string('country');
$table->string('region');
$table->string('division');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ class DropUsersEmailUniqueFromUsersTable extends Migration
*/
public function up()
{
Schema::table('users', function (Blueprint $table) {
$table->dropUnique('users_email_unique');
});
return;
// Schema::table('users', function (Blueprint $table) {
// $table->dropUnique('users_email_unique');
// });
}

/**
Expand All @@ -25,8 +26,9 @@ public function up()
*/
public function down()
{
Schema::table('users', function (Blueprint $table) {
$table->unique('email');
});
return;
// Schema::table('users', function (Blueprint $table) {
// $table->unique('email');
// });
}
}

0 comments on commit 4e27c6d

Please sign in to comment.