Adding timestamps to billable periods

This commit is contained in:
Rob Harrington
2015-07-01 12:54:58 +08:00
parent 311ffc3dc9
commit 4d58faefd8
2 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
class AddTimestampsToBillablePeriods < ActiveRecord::Migration
def change
change_table(:billable_periods) do |t|
t.datetime :deleted_at, default: nil
t.timestamps
end
end
end

View File

@@ -32,6 +32,9 @@ ActiveRecord::Schema.define(:version => 20150730160010) do
t.string "sells"
t.boolean "trial", :default => false
t.decimal "turnover", :default => 0.0
t.datetime "deleted_at"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "carts", :force => true do |t|