mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 04:36:21 +00:00
15 lines
328 B
Ruby
15 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
|