Sha256: 144b6fb9d6af7220ca509d6b9bc3b028f7c22fe9425a76b28cfb7cd21517a829
Contents?: true
Size: 187 Bytes
Versions: 2
Compression:
Stored size: 187 Bytes
Contents
class AddAuthorIdToPandaCMSPosts < ActiveRecord::Migration[8.0] def change add_reference :panda_cms_posts, :author, type: :uuid, foreign_key: {to_table: :panda_cms_users} end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
panda-cms-0.7.3 | db/migrate/20250106223303_add_author_id_to_panda_cms_posts.rb |
panda-cms-0.7.2 | db/migrate/20250106223303_add_author_id_to_panda_cms_posts.rb |