This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/20210826140648_create_p_article_serial_nums.rb

12 lines
324 B
Ruby

class CreatePArticleSerialNums < ActiveRecord::Migration[6.0]
def change
create_table :p_article_serial_nums do |t|
t.references :p_article, foreign_key: true
t.references :p_serial_num_type, foreign_key: true
t.references :p_serial_num_value, foreign_key: true
t.timestamps
end
end
end