2021-12-18 23:52:05 +01:00
|
|
|
class NewWording < ActiveRecord::Migration[4.2]
|
2021-12-18 11:39:41 +01:00
|
|
|
def self.up
|
|
|
|
rename_column :articles, :refund, :deposit
|
|
|
|
# and make 0.0 deposit the default ...
|
|
|
|
change_column :articles, :deposit, :decimal, :precision => 8, :scale => 2, :default => 0.0, :null => false
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.down
|
|
|
|
end
|
|
|
|
end
|