Sha256: 6745aca4fd65490aa9ac6a6ec8f8b9d0b84d4971ceaaba073b937e0af0bace25
Contents?: true
Size: 203 Bytes
Versions: 2
Compression:
Stored size: 203 Bytes
Contents
class CreateMessages < ActiveRecord::Migration def change create_table :messages do |t| t.string :content t.timestamps end add_reference :messages, :user, index: true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thermometer-0.0.3 | test/dummy/db/migrate/20140214001211_create_messages.rb |
thermometer-0.0.2 | test/dummy/db/migrate/20140214001211_create_messages.rb |