Skip to content

Commit

Permalink
fix migration
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmeurer committed Dec 7, 2023
1 parent 5e5c269 commit 407a5bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/migrate/20191222065024_create_gemmies.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def change
create_table :gemmies do |t|
t.string :name, index: { unique: true }
t.json :dependencies_and_versions, default: {}
t.text :compat_ids, array: true, default: [], null: false
t.json :compat_ids, default: [], null: false
t.check_constraint "JSON_TYPE(compat_ids) = 'array'", name: "gemmy_compat_ids_is_array"
t.timestamps
end
Expand Down

0 comments on commit 407a5bb

Please sign in to comment.