If you want to start using migrations with an existing database, you can snapshot your existing schema with rake schema_dump.
如果想对现有数据库使用迁移,可以用rake schema_dump对现在的模式做个快照。
Snapshot publications completely refresh the schema at the Subscriber every time synchronization occurs, so all schema changes are applied to the Subscriber.
每次发生同步时,快照发布都会彻底刷新订阅服务器上的架构,因此所有架构更改都会应用到订阅服务器。
应用推荐