Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20181127012722_add_guid_to_notifications.rb « migrate « db - github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8581173f2c91cc936a5518a56bdf5f3951d825e0 (plain)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

class AddGuidToNotifications < ActiveRecord::Migration[5.1]
  def change
    add_column :notifications, :guid, :string
    add_index :notifications, :guid, name: :index_notifications_on_guid, length: 191, unique: true
  end
end