5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 09:36:21 +00:00
panel/db/migrate/20240220161414_create_activity_pub_instances.rb

13 lines
371 B
Ruby

# frozen_string_literal: true
# Almacena las instancias
class CreateActivityPubInstances < ActiveRecord::Migration[6.1]
def change
create_table :activity_pub_instances, id: :uuid do |t|
t.timestamps
t.string :hostname, index: true, unique: true, null: false
t.string :aasm_state, null: false
t.jsonb :content, default: {}
end
end
end