Set multiplier default in db, not model

This commit is contained in:
2024-03-15 19:36:05 +01:00
parent d314b9580a
commit 59db1fef17
3 changed files with 2 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ ActiveRecord::Schema[7.1].define(version: 2023_06_02_185352) do
t.bigint "user_id"
t.string "symbol"
t.string "name"
t.decimal "multiplier", precision: 30, scale: 15
t.decimal "multiplier", precision: 30, scale: 15, default: "1.0"
t.bigint "base_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false