Commit 3f456f9b authored by Michel Felipe de Oliveira Ferreira's avatar Michel Felipe de Oliveira Ferreira Committed by Rodrigo Siqueira

Change task end_date field from date to datetime

1. Fix indentation
2. Update db/schema
Signed-off-by: Alexandre Barbosa's avatarAlexandre Barbosa <[email protected]>
Signed-off-by: default avatarRodrigo Siquera <[email protected]>
parent c3508696
Pipeline #659379 failed with stage
class ChangeTaskEndDateFromDateToDateTime < ActiveRecord::Migration
def up
change_column :tasks, :end_date, :datetime
def down
change_column :tasks, :end_date, :date
......@@ -736,7 +736,7 @@ ActiveRecord::Schema.define(version: 20150921140802) do
create_table "tasks", force: :cascade do |t|
t.text "data"
t.integer "status" "end_date"
t.datetime "end_date"
t.integer "requestor_id"
t.integer "target_id"
t.string "code", limit: 40
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment