chore(captain): purge legacy pending FAQs

This commit is contained in:
aakashb95
2026-07-14 23:00:38 +05:30
parent 637eddad34
commit f04eb85175
2 changed files with 8 additions and 1 deletions
@@ -0,0 +1,7 @@
class PurgePendingCaptainAssistantResponses < ActiveRecord::Migration[7.1]
def up
execute('DELETE FROM captain_assistant_responses WHERE status = 0')
end
def down; end
end
+1 -1
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.1].define(version: 2026_07_13_184351) do
ActiveRecord::Schema[7.1].define(version: 2026_07_14_123000) do
# These extensions should be enabled to support this database
enable_extension "pg_stat_statements"
enable_extension "pg_trgm"