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/20210826135742_create_p_articles.rb
2021-08-26 15:58:34 +02:00

10 lines
193 B
Ruby

class CreatePArticles < ActiveRecord::Migration[6.0]
def change
create_table :p_articles do |t|
t.references :p_product_ref, foreign_key: true
t.timestamps
end
end
end