mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 18:56:21 +00:00
16 lines
434 B
Ruby
16 lines
434 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Actividades. Se asocian a un objeto y a una cola de moderación
|
|
class CreateActivityPubActivities < ActiveRecord::Migration[6.1]
|
|
def change
|
|
create_table :activity_pub_activities, id: :uuid do |t|
|
|
t.timestamps
|
|
|
|
t.uuid :activity_pub_id, index: true, null: false
|
|
|
|
t.string :type, null: false
|
|
t.string :uri, null: false
|
|
t.jsonb :content, default: {}
|
|
end
|
|
end
|
|
end
|