mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 20:24:47 +08:00
FEATURE: make pin expiration mandatory
This commit is contained in:
5
db/migrate/20150727210019_add_pinned_until_to_topics.rb
Normal file
5
db/migrate/20150727210019_add_pinned_until_to_topics.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class AddPinnedUntilToTopics < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :topics, :pinned_until, :datetime, null: true
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user