Skip to content

Commit

Permalink
Update dummy app schema
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdeyen committed Mar 29, 2023
1 parent 15e07d3 commit ffea666
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true

# This migration comes from alchemy (originally 20220622130905)
class AddPlaysinlineToAlchemyEssenceVideos < ActiveRecord::Migration[6.0]
def change
return if column_exists?(:alchemy_essence_videos, :playsinline)

add_column :alchemy_essence_videos, :playsinline, :boolean, default: false, null: false
end
end
3 changes: 2 additions & 1 deletion spec/dummy/db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema[7.0].define(version: 2022_05_14_072456) do
ActiveRecord::Schema[7.0].define(version: 2023_03_29_125310) do
create_table "alchemy_attachments", force: :cascade do |t|
t.string "name"
t.string "file_name"
Expand Down Expand Up @@ -166,6 +166,7 @@
t.boolean "loop", default: false, null: false
t.boolean "muted", default: false, null: false
t.string "preload"
t.boolean "playsinline", default: false, null: false
t.index ["attachment_id"], name: "index_alchemy_essence_videos_on_attachment_id"
end

Expand Down

0 comments on commit ffea666

Please sign in to comment.