Add 'publication_date' attribute to Budget::Investment::Milestone
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
class AddPublicationDateToMilestones < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
change_table :budget_investment_milestones do |t|
|
||||||
|
t.datetime :publication_date
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
change_table :budget_investment_milestones do |t|
|
||||||
|
t.remove :publication_date
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20171127230716) do
|
ActiveRecord::Schema.define(version: 20171212154048) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
@@ -119,10 +119,11 @@ ActiveRecord::Schema.define(version: 20171127230716) do
|
|||||||
|
|
||||||
create_table "budget_investment_milestones", force: :cascade do |t|
|
create_table "budget_investment_milestones", force: :cascade do |t|
|
||||||
t.integer "investment_id"
|
t.integer "investment_id"
|
||||||
t.string "title", limit: 80
|
t.string "title", limit: 80
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
|
t.datetime "publication_date"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "budget_investments", force: :cascade do |t|
|
create_table "budget_investments", force: :cascade do |t|
|
||||||
|
|||||||
Reference in New Issue
Block a user