Sha256: 485d59cb211d85b9245b71cb4f506ee2bab45e849193d3988c1f3904fef01da1

Contents?: true

Size: 503 Bytes

Versions: 39

Compression:

Stored size: 503 Bytes

Contents

# frozen_string_literal: true

class CreateEssenceAudios < ActiveRecord::Migration[6.0]
  def up
    return if table_exists? :alchemy_essence_audios

    create_table :alchemy_essence_audios do |t|
      t.references :attachment
      t.boolean :controls, default: true, null: false
      t.boolean :autoplay, default: false
      t.boolean :loop, default: false, null: false
      t.boolean :muted, default: false, null: false
    end
  end

  def down
    drop_table :alchemy_essence_audios
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
alchemy_cms-6.1.10 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.9 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.8 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.7 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.6 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.5 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.14 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.4 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.13 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.3 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.2 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.1 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.1.0 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.12 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.11 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.10 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.9 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.8 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.7 db/migrate/20210506135919_create_essence_audios.rb
alchemy_cms-6.0.6 db/migrate/20210506135919_create_essence_audios.rb