Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
f476c42d
Commit
f476c42d
authored
Nov 11, 2011
by
Nihad Abbasov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove content column from issues
parent
f295ff84
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
db/migrate/20111111093150_remove_content_from_issues.rb
db/migrate/20111111093150_remove_content_from_issues.rb
+9
-0
db/schema.rb
db/schema.rb
+1
-2
No files found.
db/migrate/20111111093150_remove_content_from_issues.rb
0 → 100644
View file @
f476c42d
class
RemoveContentFromIssues
<
ActiveRecord
::
Migration
def
up
remove_column
:issues
,
:content
end
def
down
add_column
:issues
,
:content
,
:text
end
end
db/schema.rb
View file @
f476c42d
...
...
@@ -11,11 +11,10 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
:version
=>
201111
01222453
)
do
ActiveRecord
::
Schema
.
define
(
:version
=>
201111
11093150
)
do
create_table
"issues"
,
:force
=>
true
do
|
t
|
t
.
string
"title"
t
.
text
"content"
t
.
integer
"assignee_id"
t
.
integer
"author_id"
t
.
integer
"project_id"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment