BigW Consortium Gitlab

Commit 8bc0a06c by Dmitriy Zaporozhets

Add more fields to project service model

parent 3a22631d
class AddMoreFieldsToService < ActiveRecord::Migration
def change
add_column :services, :subdomain, :string
add_column :services, :room, :string
end
end
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# #
# It's strongly recommended to check this file into your version control system. # It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20130506095501) do ActiveRecord::Schema.define(:version => 20130522141856) do
create_table "deploy_keys_projects", :force => true do |t| create_table "deploy_keys_projects", :force => true do |t|
t.integer "deploy_key_id", :null => false t.integer "deploy_key_id", :null => false
...@@ -194,6 +194,8 @@ ActiveRecord::Schema.define(:version => 20130506095501) do ...@@ -194,6 +194,8 @@ ActiveRecord::Schema.define(:version => 20130506095501) do
t.datetime "updated_at", :null => false t.datetime "updated_at", :null => false
t.boolean "active", :default => false, :null => false t.boolean "active", :default => false, :null => false
t.string "project_url" t.string "project_url"
t.string "subdomain"
t.string "room"
end end
add_index "services", ["project_id"], :name => "index_services_on_project_id" add_index "services", ["project_id"], :name => "index_services_on_project_id"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment