Sha256: 565c0d1ee63021235660322267ad9590cbfeef0f9674dbf7ea6497d0c1fc2b44
Contents?: true
Size: 788 Bytes
Versions: 46
Compression:
Stored size: 788 Bytes
Contents
class CreateActiveadminSelleoCmsAssets < ActiveRecord::Migration def self.up create_table :activeadmin_selleo_cms_assets do |t| t.string :data_file_name, :null => false t.string :data_content_type t.integer :data_file_size t.integer :assetable_id t.string :assetable_type t.string :type t.integer :width t.integer :height t.timestamps end add_index "activeadmin_selleo_cms_assets", ["assetable_type", "type", "assetable_id"], :name => "idx_activeadmin_selleo_cms_asset_assetable_type" add_index "activeadmin_selleo_cms_assets", ["assetable_type", "assetable_id"], :name => "idx_activeadmin_selleo_cms_assets_assetable" end def self.down drop_table :activeadmin_selleo_cms_assets end end
Version data entries
46 entries across 46 versions & 1 rubygems