From 50074aae9d04f67d2ab40196fc7d74edd2519a5b Mon Sep 17 00:00:00 2001 From: Andy Brett Date: Wed, 3 Feb 2021 08:45:42 -0800 Subject: [PATCH] update db schema --- db/schema.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index f3c76493eb..82647c958b 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20210127174120) do +ActiveRecord::Schema.define(version: 20210202052337) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -1071,7 +1071,7 @@ ActiveRecord::Schema.define(version: 20210127174120) do t.decimal "cost_price", precision: 8, scale: 2 t.integer "position" t.string "cost_currency", limit: 255 - t.float "unit_value" + t.float "unit_value", null: false t.string "unit_description", limit: 255, default: "" t.string "display_name", limit: 255 t.string "display_as", limit: 255