Sha256: 331c408f335dc09388fb8b70dd6111968de75efe4f873688a31dfafb6da98870

Contents?: true

Size: 211 Bytes

Versions: 5

Compression:

Stored size: 211 Bytes

Contents

class CreateMessages < ActiveRecord::Migration[5.0]
  def change
    create_table :messages do |t|
      t.integer :user_id
      t.integer :author_id
      t.text :content

      t.timestamps
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
notify_on-1.0.5 spec/dummy/db/migrate/20160801130804_create_messages.rb
notify_on-1.0.4 spec/dummy/db/migrate/20160801130804_create_messages.rb
notify_on-1.0.3 spec/dummy/db/migrate/20160801130804_create_messages.rb
notify_on-1.0.2 spec/dummy/db/migrate/20160801130804_create_messages.rb
notify_on-1.0.1 spec/dummy/db/migrate/20160801130804_create_messages.rb