2020-05-01から1ヶ月間の記事一覧
内容 db/schema.rb カラム追加したブランチをリベースしようとしたところで発生 <<<<<<< HEAD ActiveRecord::Schema.define(version: 20200513032325) do ======= ActiveRecord::Schema.define(version: 20200506032438) do >>>>>>> ブランチ名 最新のversio…
カラム追加したら名前を間違えた。 カラム追加からmigrateまで マイグレーションファイル作成のコマンドはこんな感じ $ rails g migration Addカラム名Toテーブル名 カラム名:データ型 20200506031358_ファイル名.rb class Addカラム名Toテーブル名 < Active…