You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
547 B
15 lines
547 B
from django.db import migrations
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('hadis', '0082_remove_hadistransmitter_status'), # Keep your actual dependency here
|
|
]
|
|
|
|
operations = [
|
|
# This tells Django: "Run this SQL command, but don't try to update your internal model state"
|
|
migrations.RunSQL(
|
|
sql="ALTER TABLE hadis_hadistransmitter DROP COLUMN status;",
|
|
reverse_sql="ALTER TABLE hadis_hadistransmitter ADD COLUMN status varchar(255);" # Optional fallback
|
|
),
|
|
]
|