15 lines
384 B
Ruby
15 lines
384 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
class CreateUserPostFavsE621 < ActiveRecord::Migration[7.2]
|
|
sig { void }
|
|
def change
|
|
create_table :domain_user_post_favs_e621,
|
|
primary_key: %i[user_id post_id] do |t|
|
|
t.bigint :user_id, null: false
|
|
t.bigint :post_id, null: false
|
|
t.boolean :removed, null: false, default: false
|
|
end
|
|
end
|
|
end
|