You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
374 B
15 lines
374 B
# 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
|
|
|