Sha256: 5355a69970ab3301d73ff9aeded4439654b28910759d2fe1a8d76dfb8dcc825d
Contents?: true
Size: 692 Bytes
Versions: 5
Compression:
Stored size: 692 Bytes
Contents
# This migration comes from ecm_pictures_engine (originally 2) class CreateEcmPicturesPictures < ActiveRecord::Migration[4.2] def change create_table :ecm_pictures_pictures do |t| t.string :name t.text :description # associations t.references :picture_gallery # acts as list t.integer :position # acts as markup t.string :markup_language # friendly id t.string :slug # paperclip # t.attachment :image t.string :image_file_name t.integer :image_file_size t.string :image_content_type t.timestamp :image_updated_at t.string :image_fingerprint t.timestamps end end end
Version data entries
5 entries across 5 versions & 1 rubygems