sharedlists/db/migrate/004_new_wording.rb

11 lines
291 B
Ruby
Raw Normal View History

2021-12-18 11:39:41 +01:00
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