Skip to content

Commit

Permalink
Merge pull request #9 from lukeyouell/develop
Browse files Browse the repository at this point in the history
Migration table schema
  • Loading branch information
lukeyouell authored May 31, 2018
2 parents 9c77df7 + c5ea1ca commit 34a728f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file.

## 2.0.1 - 2018-05-31

### Fixed

- Migration table schema

## 2.0.0 - 2018-05-31

### Added
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": "lukeyouell/craft-stripecheckout",
"description": "Bringing the power of Stripe Checkout to your Craft templates.",
"type": "craft-plugin",
"version": "2.0.0",
"version": "2.0.1",
"keywords": [
"craft",
"cms",
Expand Down
2 changes: 1 addition & 1 deletion src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function createTables()
$tablesCreated = false;

// support_tickets table
$tableSchema = Craft::$app->db->schema->getTableSchema('{{%support_tickets}}');
$tableSchema = Craft::$app->db->schema->getTableSchema('{{%checkout_charges}}');
if ($tableSchema === null) {
$tablesCreated = true;

Expand Down
2 changes: 1 addition & 1 deletion src/migrations/m180531_090631_v2_upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ protected function createTables()
$tablesCreated = false;

// support_tickets table
$tableSchema = Craft::$app->db->schema->getTableSchema('{{%support_tickets}}');
$tableSchema = Craft::$app->db->schema->getTableSchema('{{%checkout_charges}}');
if ($tableSchema === null) {
$tablesCreated = true;

Expand Down

0 comments on commit 34a728f

Please sign in to comment.