Sha256: 2df33bec6bcd8101c1c083a061ef8f197b23ec6c715fe9a142e285985d13babb

Contents?: true

Size: 255 Bytes

Versions: 8

Compression:

Stored size: 255 Bytes

Contents

class CreateUserConversations < ActiveRecord::Migration
  def change
    create_table :user_conversations do |t|
      t.integer :user_id
      t.integer :conversation_id
      t.boolean :deleted
      t.boolean :read

      t.timestamps
    end
  end
end

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
conversations-0.0.2.2 lib/generators/conversations/templates/20120105153800_create_user_conversations.rb
conversations-0.0.2.2 spec/dummy/db/migrate/20120105153800_create_user_conversations.rb
conversations-0.0.2.1 lib/generators/conversations/templates/20120105153800_create_user_conversations.rb
conversations-0.0.2.1 spec/dummy/db/migrate/20120105153800_create_user_conversations.rb
conversations-0.0.2 lib/generators/conversations/templates/20120105153800_create_user_conversations.rb
conversations-0.0.2 spec/dummy/db/migrate/20120105153800_create_user_conversations.rb
conversations-0.0.1 lib/generators/conversations/templates/20120105153800_create_user_conversations.rb
conversations-0.0.1 spec/dummy/db/migrate/20120105153800_create_user_conversations.rb