エラーが発生します
PGError: ERROR: type modifier is not allowed for type "text"
LINE 1: ...ng(255), "desc" character varying(255), "content" text(255),...
heroku run rake db:resetを実行すると
postgresqlには「text」の無制限のタイプが必要であり、最新の移行ファイルには...
class ChangeLessonsTable < ActiveRecord::Migration
def change
change_table :lessons do |t|
t.change :content, :text, :limit => nil
end
end
end
それでもエラーが発生し続けます。なぜ何かアイデア?rake db:reset、rake db:migrate、およびgit pushを実行して、ローカルデータベースが変更されたことを確認しました。次に、githerokupushとherokurunrake db:resetを実行しましたが、エラーが発生し続けます。私は何かが足りないのですか?ありがとう