Sha256: d29ea86f6d2624eadbea1f94cac2eb9c2f120c413b0282e89edbb068f54200be
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
class CreateWikiPageAttachments < ActiveRecord::Migration def self.up create_table :wiki_page_attachments do |t| t.integer :page_id, :null => false # Reference to page t.string :wiki_page_attachment_file_name t.string :wiki_page_attachment_content_type t.integer :wiki_page_attachment_file_size t.timestamps end end def self.down drop_table :wiki_page_attachments end end
Version data entries
6 entries across 6 versions & 2 rubygems