Skip to content

Commit

Permalink
Fixes an issue where swixpop fields would not be migrated on install.…
Browse files Browse the repository at this point in the history
… Bump to 2.3.2
  • Loading branch information
mmikkel committed Jan 4, 2021
1 parent dd90469 commit 3d76f9e
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ 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/).

## 2.3.2 - 2021-01-04

### Fixed
- Fixes an issue where Locate would not migrate `swixpop/locate` fields on install

## 2.3.1 - 2020-09-23

### Changed
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": "vaersaagod/locate",
"description": "Harness the power of the Google Autocomplete API inside Craft. Adds an autocomplete search box to Craft entries.",
"type": "craft-plugin",
"version": "2.3.1",
"version": "2.3.2",
"keywords": [
"craft",
"cms",
Expand Down
22 changes: 22 additions & 0 deletions src/migrations/Install.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?php

namespace vaersaagod\locate\migrations;

use craft\db\Migration;

/**
* Class Install
* @package vaersaagod\locate\migrations
*/
class Install extends Migration
{

/**
* @return bool
*/
public function safeUp()
{
return (new m200828_223834_migrate_fields())->safeUp();
}

}

0 comments on commit 3d76f9e

Please sign in to comment.