downgrade
Reverts database schema changes by restoring the foreign key constraint on the 'item' table and setting the 'owner_id' column to be nullable.
def downgrade() - > null
Reverts database schema changes by restoring the foreign key constraint on the 'item' table and making the 'owner_id' column nullable.
Returns
| Type | Description |
|---|---|
null | Nothing is returned as this function performs in-place database schema migrations. |