discourse/db/migrate/20210126222142_create_shelv...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
275 B
Ruby
Raw Normal View History

# 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