Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tablefield-3199886
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review 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
Issue forks
tablefield-3199886
Commits
911aba7d
Commit
911aba7d
authored
14 years ago
by
Kevin Hankens
Browse files
Options
Downloads
Patches
Plain Diff
Adding an update to fix column definitions with bad schema. 1003382
parent
922b6cb9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tablefield.install
+15
-4
15 additions, 4 deletions
tablefield.install
with
15 additions
and
4 deletions
tablefield.install
+
15
−
4
View file @
911aba7d
...
...
@@ -47,10 +47,7 @@ function tablefield_update_dependencies() {
return
$dependencies
;
}
/**
* Update schema to handle machine names of input filter formats.
*/
function
tablefield_update_7000
()
{
function
tablefield_repair_schema
()
{
$spec
=
array
(
'type'
=>
'varchar'
,
'length'
=>
255
,
...
...
@@ -74,3 +71,17 @@ function tablefield_update_7000() {
db_change_field
(
$revision_table
,
$column
,
$column
,
$spec
);
}
}
/**
* Update schema to handle machine names of input filter formats.
*/
function
tablefield_update_7000
()
{
tablefield_repair_schema
();
}
/**
* Fix colums created by versions prior to beta1.
*/
function
tablefield_update_7001
()
{
tablefield_repair_schema
();
}
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