mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
lets try out annotations
This commit is contained in:
@ -1,3 +1,20 @@
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: drafts
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# user_id :integer not null
|
||||
# draft_key :string(255) not null
|
||||
# data :text not null
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
# sequence :integer default(0), not null
|
||||
#
|
||||
# Indexes
|
||||
#
|
||||
# index_drafts_on_user_id_and_draft_key (user_id,draft_key)
|
||||
#
|
||||
|
||||
class Draft < ActiveRecord::Base
|
||||
NEW_TOPIC = 'new_topic'
|
||||
NEW_PRIVATE_MESSAGE = 'new_private_message'
|
||||
|
Reference in New Issue
Block a user