BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8bc0a06c
Commit
8bc0a06c
authored
May 22, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more fields to project service model
parent
3a22631d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
20130522141856_add_more_fields_to_service.rb
db/migrate/20130522141856_add_more_fields_to_service.rb
+6
-0
schema.rb
db/schema.rb
+3
-1
No files found.
db/migrate/20130522141856_add_more_fields_to_service.rb
0 → 100644
View file @
8bc0a06c
class
AddMoreFieldsToService
<
ActiveRecord
::
Migration
def
change
add_column
:services
,
:subdomain
,
:string
add_column
:services
,
:room
,
:string
end
end
db/schema.rb
View file @
8bc0a06c
...
...
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
:version
=>
201305
06095501
)
do
ActiveRecord
::
Schema
.
define
(
:version
=>
201305
22141856
)
do
create_table
"deploy_keys_projects"
,
:force
=>
true
do
|
t
|
t
.
integer
"deploy_key_id"
,
:null
=>
false
...
...
@@ -194,6 +194,8 @@ ActiveRecord::Schema.define(:version => 20130506095501) do
t
.
datetime
"updated_at"
,
:null
=>
false
t
.
boolean
"active"
,
:default
=>
false
,
:null
=>
false
t
.
string
"project_url"
t
.
string
"subdomain"
t
.
string
"room"
end
add_index
"services"
,
[
"project_id"
],
:name
=>
"index_services_on_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