features(api): add expires_at to api_token

This commit is contained in:
simon lehericey 2024-01-17 09:09:30 +01:00
parent d8bc38bc69
commit 28e4e1be2e
2 changed files with 7 additions and 1 deletions

View file

@ -0,0 +1,5 @@
class AddExpiresAtColumnToAPIToken < ActiveRecord::Migration[7.0]
def change
add_column :api_tokens, :expires_at, :date
end
end