20170506235850_create_conversations.rb 258 B

12345678910
  1. class CreateConversations < ActiveRecord::Migration[5.0]
  2. def change
  3. create_table :conversations, id: :bigserial do |t|
  4. t.string :uri, null: true, default: nil
  5. t.timestamps
  6. end
  7. add_index :conversations, :uri, unique: true
  8. end
  9. end