railsRails5でdb:migrateしたら「Directly inheriting from ActiveRecord::Migration is not supported.」とエラーが出た Rails5.1.4でactiverecord-session_storeを使おうと思い、以下のコマンドを実行した。railsgactive_record:session_migrationrailsdb:migrateすると、以下のエラー...2017.09.18rails
iOSschemaVersionを上げてもrealmのmigrationが失敗する時の対処法 realmを使っていてModelにプロパティを増やしたので、migrationをしようと思った。そこで、AppDelegateにrealmの公式サイトに書いてあるmigration用のコードを記載し、schemaVersionを上げて実行し...2017.08.19iOS