mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 23:06:22 +00:00
13 lines
376 B
Ruby
13 lines
376 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
# Almacena actores de ActivityPub y los relaciona con actividades
|
||
|
class CreateActivityPubActors < ActiveRecord::Migration[6.1]
|
||
|
def change
|
||
|
create_table :activity_pub_actors, id: :uuid do |t|
|
||
|
t.timestamps
|
||
|
t.uuid :instance_id, index: true, null: false
|
||
|
t.string :uri, index: true, unique: true, null: false
|
||
|
end
|
||
|
end
|
||
|
end
|