Commit 8bc0a06cd4e389f8004f5c0be8caabef9c75cb38

Authored by Dmitriy Zaporozhets
1 parent 3a22631d

Add more fields to project service model

db/migrate/20130522141856_add_more_fields_to_service.rb 0 → 100644
... ... @@ -0,0 +1,6 @@
  1 +class AddMoreFieldsToService < ActiveRecord::Migration
  2 + def change
  3 + add_column :services, :subdomain, :string
  4 + add_column :services, :room, :string
  5 + end
  6 +end
... ...
db/schema.rb
... ... @@ -11,7 +11,7 @@
11 11 #
12 12 # It's strongly recommended to check this file into your version control system.
13 13  
14   -ActiveRecord::Schema.define(:version => 20130506095501) do
  14 +ActiveRecord::Schema.define(:version => 20130522141856) do
15 15  
16 16 create_table "deploy_keys_projects", :force => true do |t|
17 17 t.integer "deploy_key_id", :null => false
... ... @@ -194,6 +194,8 @@ ActiveRecord::Schema.define(:version =&gt; 20130506095501) do
194 194 t.datetime "updated_at", :null => false
195 195 t.boolean "active", :default => false, :null => false
196 196 t.string "project_url"
  197 + t.string "subdomain"
  198 + t.string "room"
197 199 end
198 200  
199 201 add_index "services", ["project_id"], :name => "index_services_on_project_id"
... ...