Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Stripe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Extensions
Stripe
Commits
112971c6
Commit
112971c6
authored
4 years ago
by
mattwire
Browse files
Options
Downloads
Patches
Plain Diff
Don't specify charset/collation when creating tables - use the default
parent
57b16a9f
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!114
6.4.1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sql/customers_install.sql
+2
-2
2 additions, 2 deletions
sql/customers_install.sql
sql/paymentintent_install.sql
+1
-1
1 addition, 1 deletion
sql/paymentintent_install.sql
with
3 additions
and
3 deletions
sql/customers_install.sql
+
2
−
2
View file @
112971c6
CREATE
TABLE
IF
NOT
EXISTS
`civicrm_stripe_customers`
(
`id`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`id`
varchar
(
255
)
DEFAULT
NULL
,
`contact_id`
int
(
10
)
UNSIGNED
DEFAULT
NULL
COMMENT
'FK ID from civicrm_contact'
,
`processor_id`
int
(
10
)
DEFAULT
NULL
COMMENT
'ID from civicrm_payment_processor'
,
UNIQUE
KEY
`id`
(
`id`
),
CONSTRAINT
`FK_civicrm_stripe_customers_contact_id`
FOREIGN
KEY
(
`contact_id`
)
REFERENCES
`civicrm_contact`
(
`id`
)
ON
DELETE
CASCADE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
)
ENGINE
=
InnoDB
;
This diff is collapsed.
Click to expand it.
sql/paymentintent_install.sql
+
1
−
1
View file @
112971c6
...
...
@@ -15,4 +15,4 @@ CREATE TABLE IF NOT EXISTS `civicrm_stripe_paymentintent` (
),
CONSTRAINT
FK_civicrm_stripe_paymentintent_payment_processor_id
FOREIGN
KEY
(
`payment_processor_id`
)
REFERENCES
`civicrm_payment_processor`
(
`id`
)
ON
DELETE
SET
NULL
,
CONSTRAINT
FK_civicrm_stripe_paymentintent_contact_id
FOREIGN
KEY
(
`contact_id`
)
REFERENCES
`civicrm_contact`
(
`id`
)
ON
DELETE
CASCADE
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
utf8
COLLATE
=
utf8_unicode_ci
;
)
ENGINE
=
InnoDB
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment