Skip to content

PAT: Add last_used_ip to table_component#1846

Open
ChrisHuynh333 wants to merge 4 commits intomainfrom
PAT-table/add-last-used-ip
Open

PAT: Add last_used_ip to table_component#1846
ChrisHuynh333 wants to merge 4 commits intomainfrom
PAT-table/add-last-used-ip

Conversation

@ChrisHuynh333
Copy link
Copy Markdown
Collaborator

@ChrisHuynh333 ChrisHuynh333 commented May 5, 2026

What does this PR do and why?

This PR adds the last_used_ips column to the PAT table

Screenshots or screen recordings

image image

How to set up and validate locally

  1. Create and/or update an existing PAT with IP addresses, and verify they appear in the table.

You can update a PAT with IP addresses with the following rails c command:

PersonalAccessToken.last.update(last_used_ips: ['192.168.1.1', '192.168.1.2', '192.168.1.3', '192.168.1.4', '192.168.1.5'])

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

@ChrisHuynh333 ChrisHuynh333 self-assigned this May 5, 2026
@ChrisHuynh333 ChrisHuynh333 marked this pull request as ready for review May 6, 2026 17:08
@ChrisHuynh333 ChrisHuynh333 added the ready for review Pull request is ready for review label May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review Pull request is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant