Fix numbers autoincrement
This commit is contained in:
parent
63590c9e92
commit
1cdf5048c3
6 changed files with 16 additions and 5 deletions
|
|
@ -0,0 +1,6 @@
|
|||
class ChangeChecksNumberNullToFalse < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
change_column :checks, :number, :bigint, null: false
|
||||
change_column :checks, :external_url, :string, null: true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue