Using created_at instead of legacy 'uploaddatetime' field
This commit is contained in:
parent
48ca75cb64
commit
3eeb9a63dc
6 changed files with 22 additions and 13 deletions
6
db/migrate/20160304140037_rename_uploaddatetime.rb
Normal file
6
db/migrate/20160304140037_rename_uploaddatetime.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
class RenameUploaddatetime < ActiveRecord::Migration
|
||||
def change
|
||||
remove_column :screenshots, :created_at
|
||||
rename_column :screenshots, :uploaddatetime, :created_at
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue