Make exports#key not-null

This commit is contained in:
Paul Chavard 2021-04-02 17:42:24 +01:00
parent fc49b7952e
commit 7f3d4a26ad
3 changed files with 8 additions and 3 deletions

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_03_31_123709) do
ActiveRecord::Schema.define(version: 2021_04_02_163003) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -354,7 +354,7 @@ ActiveRecord::Schema.define(version: 2021_03_31_123709) do
t.string "format", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.text "key"
t.text "key", null: false
t.index ["format", "key"], name: "index_exports_on_format_and_key", unique: true
end