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

8
db/schema.rb generated
View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2021_08_08_153626) do
ActiveRecord::Schema.define(version: 2021_08_11_014107) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -55,6 +55,12 @@ ActiveRecord::Schema.define(version: 2021_08_08_153626) do
t.index ["reset_password_token"], name: "index_admin_users_on_reset_password_token", unique: true
end
create_table "currencies", force: :cascade do |t|
t.string "name", null: false
t.datetime "created_at", precision: 6, null: false
t.datetime "updated_at", precision: 6, null: false
end
create_table "user_documents", force: :cascade do |t|
t.string "status", null: false
t.bigint "user_id", null: false