db/migrate/20180509103105_create_impersonation_logs.decidim.rb
# frozen_string_literal: true
# This migration comes from decidim (originally 20170724130558)
class CreateImpersonationLogs < ActiveRecord::Migration[5.1]
def change
create_table :decidim_impersonation_logs do |t|
t.references :decidim_admin, index: true
t.references :decidim_user, index: true
t.datetime :started_at
t.datetime :ended_at
t.datetime :expired_at
t.timestamps
end
end
end