From 76a6c490d514554b16075a68b75b56aa37ee0c4a Mon Sep 17 00:00:00 2001 From: Andrew Drake Date: Tue, 11 May 2021 17:59:51 +1000 Subject: [PATCH] Updated changelog, readme and factories --- CHANGELOG.md | 7 +++++++ README.md | 11 +++++++++++ config/package.php | 2 +- database/factories/DealFactory.php | 2 +- database/factories/LeadFactory.php | 2 +- 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 837825fa..5273cd85 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed ### Removed ---> +## 0.3.0 - 2021-05-11 +### Added +- Dashboard +- team_id to models +### Removed +- User model class + ## 0.2.7 - 2021-04-04 ### Fixed - Conflict with Laravel 8 Jetstream teams route diff --git a/README.md b/README.md index 28a36429..dfc28e77 100644 --- a/README.md +++ b/README.md @@ -125,6 +125,17 @@ Note if you modified the route_prefix setting from the default the above url wil ## Upgrade +### Upgrading from 0.2 to 0.3 + +#### Step 1. Run the following to the update migrations and publish assets: + +```bash +composer require venturedrake/laravel-crm::^0.3 +php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="migrations" +php artisan vendor:publish --provider="VentureDrake\LaravelCrm\LaravelCrmServiceProvider" --tag="assets --force" +php artisan migrate +``` + ### Upgrading from 0.1 to 0.2 #### Step 1. Run the following to the update package, database and add the default roles/permissions: diff --git a/config/package.php b/config/package.php index fd023a98..c438b399 100644 --- a/config/package.php +++ b/config/package.php @@ -13,6 +13,6 @@ | */ - 'version' => '0.2.7', + 'version' => '0.3.0', ]; diff --git a/database/factories/DealFactory.php b/database/factories/DealFactory.php index 15f7a52b..f8160089 100644 --- a/database/factories/DealFactory.php +++ b/database/factories/DealFactory.php @@ -20,6 +20,6 @@ 'currency' => 'USD', 'user_owner_id' => 1, 'user_assigned_id' => 1, - 'created_at' => Carbon::now()->subDays($faker->numberBetween(0,14)) + 'created_at' => Carbon::now()->subDays($faker->numberBetween(0, 14)), ]; }); diff --git a/database/factories/LeadFactory.php b/database/factories/LeadFactory.php index d24d6abb..5013fd66 100644 --- a/database/factories/LeadFactory.php +++ b/database/factories/LeadFactory.php @@ -18,6 +18,6 @@ 'currency' => 'USD', 'lead_status_id' => 1, 'user_assigned_id' => 1, - 'created_at' => Carbon::now()->subDays($faker->numberBetween(0,14)) + 'created_at' => Carbon::now()->subDays($faker->numberBetween(0, 14)), ]; });