1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/db/migrate/20240312100644_create_relationship_severance_events.rb

15 lines
374 B
Ruby

# frozen_string_literal: true
class CreateRelationshipSeveranceEvents < ActiveRecord::Migration[7.0]
def change
create_table :relationship_severance_events do |t|
t.integer :type, null: false
t.string :target_name, null: false
t.boolean :purged, null: false, default: false
t.timestamps
t.index [:type, :target_name]
end
end
end