質問編集履歴

1

誤解を防ぐ文章の修正

2019/12/24 09:06

投稿

yamada_yuuki
yamada_yuuki

スコア100

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,6 @@
1
1
  rails6にアップデートをしてから、Action Textを試したのですが上手くできません。もしかしたら、Action Textは関係なくモデルの問題かもしれませんがよろしくおねがいしますm(_ _)m。
2
2
 
3
- ```error
3
+ ```migrateerror
4
4
 
5
5
  rails aborted!
6
6
 
@@ -46,9 +46,39 @@
46
46
 
47
47
  ```
48
48
 
49
+ マイグレーション実行時のエラーです。
50
+
49
51
  なぜかファイルはもうある、的なことが書かれていますがマイグレーションファイルを見たところactive_storage_blobsというファイルは今回作ったものしかありませんでした。
50
52
 
51
53
 
54
+
55
+ ```Terminalerror
56
+
57
+ Started GET "/samples/new" for ::1 at 2019-12-24 18:00:34 +0900
58
+
59
+ (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
60
+
61
+
62
+
63
+ ActiveRecord::PendingMigrationError (
64
+
65
+
66
+
67
+ Migrations are pending. To resolve this issue, run:
68
+
69
+
70
+
71
+ rails db:migrate RAILS_ENV=development
72
+
73
+
74
+
75
+ ):
76
+
77
+
78
+
79
+ (省略)
80
+
81
+ ```
52
82
 
53
83
 
54
84