Skip to content

Commit 0573512

Browse files
committed
simplify code per review
1 parent 4a08b91 commit 0573512

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

db/post_migrate/20240609232736_drop_commands_from_ai_personas.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ def down
55
end
66

77
def up
8-
Migration::ColumnDropper.drop_readonly(:ai_personas, :commands)
9-
remove_column :ai_personas, :commands
8+
Migration::ColumnDropper.execute_drop(:ai_personas, :commands)
109
end
1110
end

0 commit comments

Comments
 (0)