Sha256: 23b4a1f3041ebe35faa0f0395c21f544046e76888e6f9f0bcbe18ae8a9c68ae7

Contents?: true

Size: 262 Bytes

Versions: 1

Compression:

Stored size: 262 Bytes

Contents

class CreateNotifications < ActiveRecord::Migration
  def self.up
    create_table :notifications do |t|
      t.string :title
      t.string :content
      t.string :url

      t.timestamps
    end
  end

  def self.down
    drop_table :notifications
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
silvermoon-0.1 spec/dummy/db/migrate/20110906125229_create_notifications.rb