db/migrate/20150316092310_messages_add_columns_server_and_key.rb
# change message to support server to server messages
change message to support server to server messages
change message to support server to server messages
def down
    Message.delete_all
    change_column :messages, :to_sha256, :string, :limit => 45, :null => false
    change_column :messages, :from_sha256, :string, :limit => 45, :null => false
    remove_column :messages, :key
    remove_column :messages, :server
  end
def down Message . delete_all change_column :messages , :to_sha256 , :string , :limit => 45 , :null => false change_column :messages , :from_sha256 , :string , :limit => 45 , :null => false remove_column :messages , :key remove_column :messages , :server end
change message to support server to server messages
change message to support server to server messages