tweaked message 'read' system
This commit is contained in:
@@ -6,7 +6,7 @@ class CreateMessages < ActiveRecord::Migration
|
||||
t.references :user_target
|
||||
t.references :user_editor
|
||||
t.references :user_hidden
|
||||
t.boolean :read, default: false
|
||||
t.references :user_unread
|
||||
|
||||
t.timestamps null: true
|
||||
end
|
||||
|
||||
@@ -91,7 +91,7 @@ ActiveRecord::Schema.define(version: 20170613021450) do
|
||||
t.integer "user_target_id", limit: 4
|
||||
t.integer "user_editor_id", limit: 4
|
||||
t.integer "user_hidden_id", limit: 4
|
||||
t.boolean "read", default: false
|
||||
t.integer "user_unread_id", limit: 4
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.string "subject", limit: 191
|
||||
|
||||
Reference in New Issue
Block a user