models: generate annotations

This commit is contained in:
Pierre de La Morinerie 2020-08-06 16:35:45 +02:00
parent e6d8581b06
commit 6d28069539
67 changed files with 1038 additions and 0 deletions

View file

@ -1,3 +1,13 @@
# == Schema Information
#
# Table name: trusted_device_tokens
#
# id :bigint not null, primary key
# token :string not null
# created_at :datetime not null
# updated_at :datetime not null
# instructeur_id :bigint
#
class TrustedDeviceToken < ApplicationRecord
LOGIN_TOKEN_VALIDITY = 1.week
LOGIN_TOKEN_YOUTH = 15.minutes