vita_app/db/migrate/20151003193230_create_devises.rb
Nicolas Bally d52c017848 suite
2016-04-28 22:41:58 +02:00

13 lines
285 B
Ruby

class CreateDevises < ActiveRecord::Migration
def change
create_table :devises do |t|
t.string :name
t.string :icon
t.string :code
t.decimal :rate, :precision => 10, :scale => 2
t.string :text_format
t.timestamps null: false
end
end
end