Sha256: 0d64d45a039300dfd45ca3185ac1f906abc8c4eccfe5b07225665c9a4b5b6908

Contents?: true

Size: 330 Bytes

Versions: 8

Compression:

Stored size: 330 Bytes

Contents

class CreateMaglevAssets < ActiveRecord::Migration[6.0]
  include Maglev::Migration
  def change
    create_table :maglev_assets, id: primary_key_type do |t|
      t.string :filename
      t.string :content_type
      t.integer :width
      t.integer :height
      t.integer :byte_size      

      t.timestamps
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
maglevcms-1.8.0 db/migrate/20201206172020_create_maglev_assets.rb
maglevcms-1.7.3 db/migrate/20201206172020_create_maglev_assets.rb
maglevcms-1.7.2 db/migrate/20201206172020_create_maglev_assets.rb
maglevcms-1.7.1 db/migrate/20201206172020_create_maglev_assets.rb
maglevcms-1.7.0 db/migrate/20201206172020_create_maglev_assets.rb
maglevcms-1.6.1 db/migrate/20201206172020_create_maglev_assets.rb
maglevcms-1.6.0 db/migrate/20201206172020_create_maglev_assets.rb
maglevcms-1.5.1 db/migrate/20201206172020_create_maglev_assets.rb