0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-06 03:25:17 +08:00
discourse/db/migrate/20210126222142_create_shelved_notifications.rb

9 lines
275 B
Ruby
Vendored

# 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