Sha256: 2f9e333b341e49bcee82c75044466a5c824836fcf9a88448680247e1379116f9
Contents?: true
Size: 521 Bytes
Versions: 4
Compression:
Stored size: 521 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, :attachment_content_type 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
4 entries across 4 versions & 1 rubygems