sharedlists/db/migrate/004_new_wording.rb
2021-12-18 11:39:41 +01:00

10 lines
291 B
Ruby

class NewWording < ActiveRecord::Migration
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