logo

mastofe

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

20170624134742_add_description_to_session_activations.rb (297B)


  1. class AddDescriptionToSessionActivations < ActiveRecord::Migration[5.1]
  2. def change
  3. add_column :session_activations, :user_agent, :string, null: false, default: ''
  4. add_column :session_activations, :ip, :inet
  5. add_foreign_key :session_activations, :users, on_delete: :cascade
  6. end
  7. end