简体   繁体   中英

Add existing migration into schema.rb

I am working on a development project. My schema.rb does not contain a table. I can see that there is a migration for the table.

How do I add the existing migration into my schema? I have used db:drop , db:create , db:schema:load but that did not create the table.

您将要运行迁移文件:

bin/rails db:migrate

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM