Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Metabase
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Engineering Digital Service
Metabase
Commits
d386fffb
Commit
d386fffb
authored
7 years ago
by
Varunram Ganesh
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Correct indecies to indices in migration file
parent
508472cc
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
resources/migrations/000_migrations.yaml
+3
-3
3 additions, 3 deletions
resources/migrations/000_migrations.yaml
with
3 additions
and
3 deletions
resources/migrations/000_migrations.yaml
+
3
−
3
View file @
d386fffb
...
...
@@ -3021,7 +3021,7 @@ databaseChangeLog:
columnNames
:
group_id, object
############################################################ Tweaks to metabase_table ############################################################
# Modify the length of metabase_table.schema from 256 -> 254
# It turns out MySQL InnoDB ind
ec
ies have to be 767 bytes or less (at least for older versions of MySQL)
# It turns out MySQL InnoDB indi
c
es have to be 767 bytes or less (at least for older versions of MySQL)
# and 'utf8' text columns can use up to 3 bytes per character in MySQL -- see http://stackoverflow.com/a/22515986/1198455
# So 256 * 3 = 768 bytes (too large to index / add unique constraints)
# Drop this to 254; 254 * 3 = 762, which should give us room to index it along with a 4-byte integer as well if need be
...
...
@@ -3323,7 +3323,7 @@ databaseChangeLog:
id
:
49
author
:
camsaul
changes
:
######################################## Card public_uuid & ind
ec
ies ########################################
######################################## Card public_uuid & indi
c
es ########################################
-
addColumn
:
tableName
:
report_card
columns
:
...
...
@@ -3346,7 +3346,7 @@ databaseChangeLog:
columns
:
column
:
name
:
public_uuid
######################################## Dashboard public_uuid & ind
ec
ies ########################################
######################################## Dashboard public_uuid & indi
c
es ########################################
-
addColumn
:
tableName
:
report_dashboard
columns
:
...
...
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