mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
Includes support for flags, reviewable users and queued posts, with REST API backwards compatibility. Co-Authored-By: romanrizzi <romanalejandro@gmail.com> Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
15 lines
427 B
Ruby
15 lines
427 B
Ruby
class CreateReviewableHistories < ActiveRecord::Migration[5.2]
|
|
def change
|
|
create_table :reviewable_histories do |t|
|
|
t.integer :reviewable_id, null: false
|
|
t.integer :reviewable_history_type, null: false
|
|
t.integer :status, null: false
|
|
t.integer :created_by_id, null: false
|
|
t.json :edited, null: true
|
|
t.timestamps
|
|
end
|
|
|
|
add_index :reviewable_histories, :reviewable_id
|
|
end
|
|
end
|