Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portal-backend
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
HBP Medical Informatics Platform
portal-backend
Commits
7de23619
Commit
7de23619
authored
8 years ago
by
Mirco Nasuti
Browse files
Options
Downloads
Patches
Plain Diff
fix db migration add filters
parent
68cce8ca
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/db/migration/V3_0__AddFilter.sql
+1
-1
1 addition, 1 deletion
src/main/resources/db/migration/V3_0__AddFilter.sql
with
1 addition
and
1 deletion
src/main/resources/db/migration/V3_0__AddFilter.sql
+
1
−
1
View file @
7de23619
...
...
@@ -3,6 +3,6 @@ ALTER TABLE query ADD COLUMN sql_filter text;
ALTER
TABLE
query_filter
DROP
COLUMN
filters_id
;
DROP
TABLE
filter_values
,
filter
;
ALTER
TABLE
query_filter
ADD
COLUMN
code
character
varying
(
255
)
NOT
NULL
;
ALTER
TABLE
query_filter
ADD
COLUMN
code
character
varying
(
255
)
NOT
NULL
DEFAULT
''
;
ALTER
TABLE
ONLY
query_filter
ADD
CONSTRAINT
fk_1
FOREIGN
KEY
(
query_id
)
REFERENCES
query
(
id
);
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
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