The code powering m.abunchtell.com https://m.abunchtell.com
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

13 wiersze
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