这可以通过迁移完成吗?
create_table :products do |t| t.string :name # other stuff end # for Postgres execute "SELECT setval('products_id_seq',1000)" # and for MysqL ... execute "ALTER TABLE products AUTO_INCREMENT = 1000"