Migration shouldn't unpublish existing bubbles
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class EnsureExistingBubblesArePublished < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
execute "update bubbles set status = 'published' where status = 'drafted'"
|
||||
end
|
||||
end
|
||||
Generated
+1
-1
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.1].define(version: 2025_01_09_153649) do
|
||||
ActiveRecord::Schema[8.1].define(version: 2025_01_15_122810) do
|
||||
create_table "accesses", force: :cascade do |t|
|
||||
t.integer "bucket_id", null: false
|
||||
t.integer "user_id", null: false
|
||||
|
||||
Reference in New Issue
Block a user