mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 08:10:13 +01:00
10 lines
287 B
Ruby
10 lines
287 B
Ruby
|
|
class AddTitleDateFormatPreference < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
add_column :preferences, :title_date_format, :string, :limit => 255, :default => '%A, %d %B %Y', :null => false
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
remove_column :preferences, :title_date_format
|
||
|
|
end
|
||
|
|
end
|