Sha256: 04d2f87cb79999e42d015f9a6d005ae838851e7ac016d0b392b9be2e6b9f7ab7

Contents?: true

Size: 278 Bytes

Versions: 47

Compression:

Stored size: 278 Bytes

Contents

class CreateForumMessages < ActiveRecord::Migration
  def self.up
    create_table :forum_messages do |t|
      t.integer :author_id
      t.text :message
      t.integer :discussion_id
      t.timestamps
    end
  end

  def self.down
    drop_table :forum_messages
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
wheels-0.1.30 db/migrate/0100_create_forum_messages.rb
wheels-0.1.28 db/migrate/0100_create_forum_messages.rb
wheels-0.1.27 db/migrate/0100_create_forum_messages.rb
wheels-0.1.25 db/migrate/0100_create_forum_messages.rb
wheels-0.1.24 db/migrate/0100_create_forum_messages.rb
wheels-0.1.23 db/migrate/0100_create_forum_messages.rb
wheels-0.1.22 db/migrate/0100_create_forum_messages.rb
wheels-0.1.21 db/migrate/0100_create_forum_messages.rb
wheels-0.1.20 db/migrate/0100_create_forum_messages.rb
wheels-0.1.19 db/migrate/0100_create_forum_messages.rb
wheels-0.1.18 db/migrate/0100_create_forum_messages.rb
wheels-0.1.17 db/migrate/0100_create_forum_messages.rb
wheels-0.1.16 db/migrate/0100_create_forum_messages.rb
wheels-0.1.15 db/migrate/0100_create_forum_messages.rb
wheels-0.1.14 db/migrate/0100_create_forum_messages.rb
wheels-0.1.13 db/migrate/0100_create_forum_messages.rb
wheels-0.1.12 db/migrate/0100_create_forum_messages.rb
wheels-0.1.10 db/migrate/0100_create_forum_messages.rb
wheels-0.1.9 db/migrate/0100_create_forum_messages.rb
wheels-0.1.8 db/migrate/0100_create_forum_messages.rb