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.
|
||||
|
||||
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
|
||||
enable_extension "plpgsql"
|
||||
@@ -123,6 +123,7 @@ ActiveRecord::Schema.define(version: 20171127230716) do
|
||||
t.text "description"
|
||||
t.datetime "created_at", null: false
|
||||
t.datetime "updated_at", null: false
|
||||
t.datetime "publication_date"
|
||||
end
|
||||
|
||||
create_table "budget_investments", force: :cascade do |t|
|
||||
|
||||
Reference in New Issue
Block a user