20151115000001_update2_chat.rb 161 B

123456
  1. class Update2Chat < ActiveRecord::Migration
  2. def up
  3. add_column :chats, :public, :boolean, null: false, default: false
  4. drop_table :chat_topics
  5. end
  6. end