Sha256: 7bc1dc14162c531d52da8e4ebe69e98f7993195aa448d51f69f2e6b5714d595e
Contents?: true
Size: 567 Bytes
Versions: 19
Compression:
Stored size: 567 Bytes
Contents
class CreateBlocks < ActiveRecord::Migration def self.up create_table :blocks do |t| t.string :title t.text :body t.integer :position t.string :region t.integer :resource_id t.string :resource_type t.string :url t.string :link_title t.string :block_image_file_name t.string :block_image_content_type t.integer :block_image_file_size t.datetime :block_image_updated_at t.string :sub_head t.timestamps end end def self.down drop_table :blocks end end
Version data entries
19 entries across 19 versions & 1 rubygems