add currency entity

This commit is contained in:
João Geonizeli
2021-08-10 23:18:32 -03:00
parent fb99da5550
commit 2b9397b340
7 changed files with 107 additions and 1 deletions

View 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