mirror of
https://github.com/discourse/discourse.git
synced 2024-12-26 00:03:44 +08:00
15 lines
338 B
Ruby
15 lines
338 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class UserRequiredFieldsVersion < ActiveRecord::Base
|
||
|
def self.current = maximum(:id) || 0
|
||
|
end
|
||
|
|
||
|
# == Schema Information
|
||
|
#
|
||
|
# Table name: user_required_fields_versions
|
||
|
#
|
||
|
# id :bigint not null, primary key
|
||
|
# created_at :datetime not null
|
||
|
# updated_at :datetime not null
|
||
|
#
|