Sha256: ed191bb14cde1f611f22d93037cdce48301da5b20d9093e5f9a0d4494d8d44cf

Contents?: true

Size: 249 Bytes

Versions: 18

Compression:

Stored size: 249 Bytes

Contents

class CreateStorytimeComments < ActiveRecord::Migration
  def change
    create_table :storytime_comments do |t|
      t.text :content
      t.references :user, index: true
      t.references :post, index: true

      t.timestamps
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
storytime-2.1.6 db/migrate/20140813014447_create_storytime_comments.rb
storytime-2.1.5 db/migrate/20140813014447_create_storytime_comments.rb
storytime-2.1.4 db/migrate/20140813014447_create_storytime_comments.rb
storytime-2.1.3 db/migrate/20140813014447_create_storytime_comments.rb
storytime-2.1.2 db/migrate/20140813014447_create_storytime_comments.rb
storytime-2.1.1 db/migrate/20140813014447_create_storytime_comments.rb
storytime-2.1.0 db/migrate/20140813014447_create_storytime_comments.rb
storytime-2.0.0 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.2.0 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.1.1 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.0.7 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.0.6 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.0.5 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.0.2 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.0.1 db/migrate/20140813014447_create_storytime_comments.rb
storytime-1.0.0 db/migrate/20140813014447_create_storytime_comments.rb
storytime-0.0.4 db/migrate/20140813014447_create_storytime_comments.rb
storytime-0.0.2 db/migrate/20140813014447_create_storytime_comments.rb