mirror of
https://github.com/fspc/BikeShed-1.git
synced 2026-09-16 08:31:36 -04:00
Attempting to go the proper way to fix dates
Still need to fix the bug/issue in netzke where it renders without the timezone
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
class AddTimezonesToLogs < ActiveRecord::Migration
|
||||
def up
|
||||
change_table :logs do |t|
|
||||
t.change :start_date, :timestamptz
|
||||
t.change :end_date, :timestamptz
|
||||
end
|
||||
end
|
||||
|
||||
def down
|
||||
change_table :logs do |t|
|
||||
t.change :start_date, :timestamp
|
||||
t.change :end_date, :timestamp
|
||||
end
|
||||
end
|
||||
end
|
||||
+1
-1
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended to check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(:version => 20131019170248) do
|
||||
ActiveRecord::Schema.define(:version => 20140504154355) do
|
||||
|
||||
create_table "bike_actions", :force => true do |t|
|
||||
t.string "action", :limit => 128, :null => false
|
||||
|
||||
Reference in New Issue
Block a user