ADD some fields to projects table
This commit is contained in:
parent
b8557840c8
commit
5466b44757
|
@ -0,0 +1,6 @@
|
||||||
|
class AddLicenseIdAndIgnoreIdToProjects < ActiveRecord::Migration
|
||||||
|
def change
|
||||||
|
add_column :projects, :license_id, :integer
|
||||||
|
add_column :projects, :ignore_id, :integer
|
||||||
|
end
|
||||||
|
end
|
|
@ -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 => 20191112072843) do
|
ActiveRecord::Schema.define(:version => 20191112073250) do
|
||||||
|
|
||||||
create_table "activities", :force => true do |t|
|
create_table "activities", :force => true do |t|
|
||||||
t.integer "act_id", :null => false
|
t.integer "act_id", :null => false
|
||||||
|
@ -2094,6 +2094,8 @@ ActiveRecord::Schema.define(:version => 20191112072843) do
|
||||||
t.string "language"
|
t.string "language"
|
||||||
t.integer "project_category_id"
|
t.integer "project_category_id"
|
||||||
t.integer "project_language_id"
|
t.integer "project_language_id"
|
||||||
|
t.integer "license_id"
|
||||||
|
t.integer "ignore_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
add_index "projects", ["lft"], :name => "index_projects_on_lft"
|
add_index "projects", ["lft"], :name => "index_projects_on_lft"
|
||||||
|
|
Loading…
Reference in New Issue