मैंने rails db:migrate
में टाइप किया और निम्न त्रुटि प्राप्त की। मैंने गुमराह किया और किसी ने माइग्रेशन संस्करण को [4.2] से [5.1] में बदलने जैसे कुछ कहा लेकिन यह अभी भी काम नहीं कर रहा है।मेरी रेल डीबी क्यों है: माइग्रेट काम नहीं कर रहा है?
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]
को उन्नयन कर रहे हैं के साथ
4.2
जगह ले सकता है आप पूरा पश्व-अनुरेखन पेस्ट कर सकते हैं? –अपना माइग्रेशन दिखाएं। इसके अलावा आपके रेल संस्करण –