aboutsummaryrefslogblamecommitdiffstats
path: root/test/dummy/db/migrate/20180208205311_create_messages.rb
blob: 6817d5933fec57677908bcb07d6b9d065a2a0039 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                   
class CreateMessages < ActiveRecord::Migration[5.2]
  def change
    create_table :messages do |t|
      t.string :subject
      t.text :content

      t.timestamps
    end
  end
end