Sha256: bfaf4376b57c0bc033b1afd1812529a4475377ac5ba243bce21e834f6e315887
Contents?: true
Size: 495 Bytes
Versions: 3
Compression:
Stored size: 495 Bytes
Contents
class CreateBanners < ActiveRecord::Migration def change create_table :banners do |t| t.string :title, :url t.string :category t.integer :position t.boolean :enabled t.string :attachment_content_type, :attachment_file_name t.datetime :attachment_updated_at t.integer :attachment_width, :attachment_height, :default => 100 t.integer :attachment_size t.string :type, :limit => 75 t.timestamps end end end
Version data entries
3 entries across 3 versions & 1 rubygems