Sha256: 933fb2ce629d10ff57cd967d9853ccd1087fee55218dbc305e2016aa866a5cec

Contents?: true

Size: 339 Bytes

Versions: 2

Compression:

Stored size: 339 Bytes

Contents

class CreateAttachments < ActiveRecord::Migration
  def self.up
    create_versioned_table :attachments do |t|
      t.string :file_path
      t.string :file_location
      t.string :file_extension
      t.string :file_type
      t.integer :file_size
      t.timestamps
    end
  end

  def self.down
    drop_table :attachments
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nate-browsercms-3.0.210 db/migrate/20080922203815_create_attachments.rb
nate-browsercms-3.0.211 db/migrate/20080922203815_create_attachments.rb