mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
9 lines
292 B
Ruby
9 lines
292 B
Ruby
class AddTitleDateFormatPreference < ActiveRecord::Migration[5.2]
|
|
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
|