add currency entity
This commit is contained in:
10
db/migrate/20210811014107_create_currencies.rb
Normal file
10
db/migrate/20210811014107_create_currencies.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
# frozen_string_literal: true
|
||||
class CreateCurrencies < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
create_table(:currencies) do |t|
|
||||
t.string(:name, null: false)
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user