Rails 5 has changed the way you create migration. You will need to specify the Rails release starting with Rails 5, like this (if you are using Rails 5.1):
class CreateCkeditorAssets < ActiveRecord::Migration[5.1]
Alternatively, you can try creating a test migration and see how your version of Rails generates the migration, and then from there:
rails g model Test name:string
Aditya
source share