Basic foundation for public collections

This commit is contained in:
Jorge Manrubia
2025-06-09 12:38:10 +02:00
parent 7d027f6699
commit 38e3582689
6 changed files with 98 additions and 3 deletions
@@ -0,0 +1,10 @@
class CreateCollectionPublications < ActiveRecord::Migration[8.1]
def change
create_table :collection_publications do |t|
t.references :collection, null: false, foreign_key: true, index: true
t.string :key, index: { unique: true }
t.timestamps
end
end
end