5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 17:16:22 +00:00
panel/db/migrate/20240228202830_create_actor_moderations.rb

15 lines
328 B
Ruby
Raw Permalink Normal View History

2024-02-28 20:34:34 +00:00
# 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