diaspora/db/migrate/20141007003922_add_chat_enabled_to_aspects.rb
Lukas Matt 56e882879a Add chat migration
* add chat_contacts table
* add chat_fragments table
* add chat_enabled column to aspects
* add chat_offline_messages table
2014-11-13 11:14:54 +01:00

9 lines
210 B
Ruby

class AddChatEnabledToAspects < ActiveRecord::Migration
def self.up
add_column :aspects, :chat_enabled, :boolean, default: false
end
def self.down
remove_column :aspects, :chat_enabled
end
end