ADD some fields to projects table

This commit is contained in:
Jasder 2019-11-12 15:36:36 +08:00
parent b8557840c8
commit 5466b44757
2 changed files with 9 additions and 1 deletions

View File

@ -0,0 +1,6 @@
class AddLicenseIdAndIgnoreIdToProjects < ActiveRecord::Migration
def change
add_column :projects, :license_id, :integer
add_column :projects, :ignore_id, :integer
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 => 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"