5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 09:26:22 +00:00
panel/db/migrate/20240228202830_create_actor_moderations.rb
2024-02-28 17:34:34 -03:00

14 lines
328 B
Ruby

# frozen_string_literal: true
# Relación entre Actor y Site
class CreateActorModerations < ActiveRecord::Migration[6.1]
def change
create_table :actor_moderations, id: :uuid do |t|
t.timestamps
t.belongs_to :site
t.uuid :actor_id, index: true
t.string :aasm_state, null: false
end
end
end