Tôi đã nhập rails db:migrate
và nhận được lỗi sau. Tôi googled và ai đó nói điều gì đó như thay đổi phiên bản Migration từ [4.2] sang [5.1] nhưng nó vẫn chưa hoạt động.Tại sao đường ray của tôi là db: di chuyển không hoạt động?
rails db:migrate rails aborted! StandardError: An error has occurred, this and all later migrations canceled:
Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for:
class CreateCkeditorAssets < ActiveRecord::Migration[4.2]
bạn có thể dán backtrace hoàn chỉnh? –
Hiển thị di chuyển của bạn. Ngoài ra phiên bản đường ray của bạn là gì –