mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-28 18:10:15 +01:00
Changes include:
* Update the URL on the Feeds page to use /contexts.rss or /contexts.txt instead of FeedController? link
* Add created_at and updated_at timestamps to contexts table to support ATOM feeds
Notes:
* This will break previous context listing feed subscriptions.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@423 a4c988fc-2ded-0310-b66e-134b36920a42
13 lines
284 B
Ruby
13 lines
284 B
Ruby
class AddContextTimestamps < ActiveRecord::Migration
|
|
|
|
def self.up
|
|
add_column :contexts, :created_at, :timestamp
|
|
add_column :contexts, :updated_at, :timestamp
|
|
end
|
|
|
|
def self.down
|
|
remove_column :contexts, :created_at
|
|
remove_column :contexts, :updated_at
|
|
end
|
|
|
|
end
|