diff --git a/db/migrate/20191112073250_add_license_id_and_ignore_id_to_projects.rb b/db/migrate/20191112073250_add_license_id_and_ignore_id_to_projects.rb new file mode 100644 index 000000000..1b0011e50 --- /dev/null +++ b/db/migrate/20191112073250_add_license_id_and_ignore_id_to_projects.rb @@ -0,0 +1,6 @@ +class AddLicenseIdAndIgnoreIdToProjects < ActiveRecord::Migration + def change + add_column :projects, :license_id, :integer + add_column :projects, :ignore_id, :integer + end +end diff --git a/db/schema.rb b/db/schema.rb index b490fcd00..30b7fb7de 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20191112072843) do +ActiveRecord::Schema.define(:version => 20191112073250) do create_table "activities", :force => true do |t| t.integer "act_id", :null => false @@ -2094,6 +2094,8 @@ ActiveRecord::Schema.define(:version => 20191112072843) do t.string "language" t.integer "project_category_id" t.integer "project_language_id" + t.integer "license_id" + t.integer "ignore_id" end add_index "projects", ["lft"], :name => "index_projects_on_lft"