mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:17:08 +08:00
10 lines
275 B
Ruby
10 lines
275 B
Ruby
# frozen_string_literal: true
|
|
class CreateShelvedNotifications < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :shelved_notifications do |t|
|
|
t.integer :notification_id, null: false
|
|
end
|
|
add_index :shelved_notifications, [:notification_id]
|
|
end
|
|
end
|