#339: added #architecture_dependent to Project

This commit is contained in:
Vokhmin Alexey V 2014-01-14 01:54:09 +04:00
parent 5db6516085
commit 1d54fa01ec
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,5 @@
class AddArchitectureDependentToProject < ActiveRecord::Migration
def change
add_column :projects, :architecture_dependent, :boolean, :default => false, :null => false
end
end

View File

@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
ActiveRecord::Schema.define(:version => 20140113205657) do
ActiveRecord::Schema.define(:version => 20140113215223) do
create_table "activity_feeds", :force => true do |t|
t.integer "user_id", :null => false
@ -439,6 +439,7 @@ ActiveRecord::Schema.define(:version => 20140113205657) do
t.integer "maintainer_id"
t.boolean "publish_i686_into_x86_64", :default => false
t.string "owner_uname", :null => false
t.boolean "architecture_dependent", :default => false, :null => false
end
add_index "projects", ["owner_id", "name", "owner_type"], :name => "index_projects_on_name_and_owner_id_and_owner_type", :unique => true, :case_sensitive => false