The code powering m.abunchtell.com https://m.abunchtell.com
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

13 linhas
293 B

  1. # frozen_string_literal: true
  2. class RemoveUriFromConversations < ActiveRecord::Migration[5.2]
  3. def up
  4. safety_assured { remove_column :conversations, :uri, :string }
  5. end
  6. def down
  7. add_column :conversations, :uri, :string
  8. add_index :conversations, :uri, unique: true
  9. end
  10. end