Skip to content

Commit

Permalink
Merge pull request #3 from sjelfull/master
Browse files Browse the repository at this point in the history
Remove unnecessary index
  • Loading branch information
Rias committed Nov 24, 2018
2 parents 25660da + cbde1b4 commit a1c7658
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
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": "rias/craft-stripe-webhooks",
"description": "Handle Stripe webhooks in a CraftCMS application",
"type": "craft-plugin",
"version": "1.0.0",
"version": "1.0.1",
"keywords": [
"craft",
"cms",
Expand Down
10 changes: 0 additions & 10 deletions src/migrations/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,16 +97,6 @@ protected function createTables()
*/
protected function createIndexes()
{
$this->createIndex(
$this->db->getIndexName(
'{{%stripewebhooks_stripewebhookcall}}',
'some_field',
true
),
'{{%stripewebhooks_stripewebhookcall}}',
'some_field',
true
);
// Additional commands depending on the db driver
switch ($this->driver) {
case DbConfig::DRIVER_MYSQL:
Expand Down

0 comments on commit a1c7658

Please sign in to comment.