logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20170625140443_add_access_token_id_to_session_activations.rb (271B)


  1. class AddAccessTokenIdToSessionActivations < ActiveRecord::Migration[5.1]
  2. def change
  3. add_column :session_activations, :access_token_id, :integer
  4. add_foreign_key :session_activations, :oauth_access_tokens, column: :access_token_id, on_delete: :cascade
  5. end
  6. end