Skip to main content

downgrade

Reverts the database schema by dropping the 'item' and 'user' tables and removing the index on the user email column.

def downgrade() - > null

Reverts the database schema by dropping the 'item' and 'user' tables and removing the index on the user email column.

Returns

TypeDescription
nullNothing is returned; the function performs in-place database schema modifications.