Skip to content

Commit

Permalink
Issue where accessToken, refreshToken and expires column were missing…
Browse files Browse the repository at this point in the history
… on install
  • Loading branch information
bymayo committed Jun 24, 2019
1 parent 0e75eab commit fe835cd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Strava Sync Changelog

## 1.0.8 - 2019-06-24
### Fixed
- Issue where accessToken, refreshToken and expires column weren't being created on fresh installs.

## 1.0.7 - 2019-05-31
### Fixed
- Error where no userId was defined when checking to see if user connected to Strava
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": "bymayo/strava-sync",
"description": "Connect to Strava with oAuth and sync activities etc to Craft CMS ",
"type": "craft-plugin",
"version": "1.0.7",
"version": "1.0.8",
"keywords": [
"craft",
"cms",
Expand Down
3 changes: 3 additions & 0 deletions src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ protected function createTables()
'id' => $this->primaryKey(),
'userId' => $this->integer()->notNull(),
'athleteId' => $this->string(255)->notNull(),
'accessToken' => $this->string(255)->notNull(),
'refreshToken' => $this->string(255)->notNull(),
'expires' => $this->integer()->notNull(),
'dateCreated' => $this->dateTime()->notNull(),
'dateUpdated' => $this->dateTime()->notNull(),
'uid' => $this->uid()
Expand Down

0 comments on commit fe835cd

Please sign in to comment.