Skip to content

Commit

Permalink
fixed field "posterName" in new installations
Browse files Browse the repository at this point in the history
  • Loading branch information
ammannbe committed Sep 14, 2022
1 parent 7ce272a commit 1233fa1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres
to [Semantic Versioning](http://semver.org/).

## 1.2.5 - 2022-09-14

- Fixed field "posterName" in new installations

## 1.2.4 - 2022-09-12

- Added new field "posterName"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "homm/hommsocialfeed",
"description": "Craft CMS Social Feed Adapter for juicer.io",
"type": "craft-plugin",
"version": "1.2.4",
"version": "1.2.5",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/HOMMSocialFeed.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class HOMMSocialFeed extends Plugin
/**
* @var string
*/
public $schemaVersion = '1.2.4';
public $schemaVersion = '1.2.5';

/**
* @var bool
Expand Down
1 change: 1 addition & 0 deletions src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public function safeUp()
'likeCount' => $this->integer()->unsigned()->notNull()->defaultValue(0),
'image' => $this->string(1024),
'additionalPhotos' => $this->text(),
'posterName' => $this->string(),
'video' => $this->string(1024),
'isMediaHidden' => $this->boolean()->notNull()->defaultValue(false),
'color' => $this->string(20),
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/m220912_113843_add_poster_name.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class m220912_113843_add_poster_name extends Migration
*/
public function safeUp()
{
$this->addColumn('{{%homm_socialfeeds}}', 'posterName', $this->text());
$this->addColumn('{{%homm_socialfeeds}}', 'posterName', $this->string());
}

/**
Expand Down

0 comments on commit 1233fa1

Please sign in to comment.