Much base work started
This commit is contained in:
11
db/migrate/20251029113830_create_external_ids.rb
Normal file
11
db/migrate/20251029113830_create_external_ids.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
class CreateExternalIds < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
create_table :external_ids do |t|
|
||||
t.references :work, null: false, foreign_key: true
|
||||
t.integer :source
|
||||
t.string :value
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user