質問するログイン新規登録

質問編集履歴

1

修正

2020/04/26 02:45

投稿

ke-si
ke-si

スコア6

title CHANGED
File without changes
body CHANGED
@@ -12,6 +12,20 @@
12
12
  /home/takeshi/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/stack.rb:37: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
13
13
  /home/takeshi/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/actionpack-6.0.2.2/lib/action_dispatch/middleware/static.rb:110: warning: The called method `initialize' is defined here
14
14
 
15
- と表示され コンソールで確認してもテーブルにカラムが追加されていません。
15
+ と表示され コンソールで確認してもテーブルにカラムが追加されていません。
16
16
 
17
+
18
+ ```
19
+ ActiveRecord::Schema.define(version: 2020_04_26_010842) do
20
+
21
+ create_table "users", force: :cascade do |t|
22
+ t.string "name"
23
+ t.string "email"
24
+ t.datetime "created_at", precision: 6, null: false
25
+ t.datetime "updated_at", precision: 6, null: false
26
+ end
27
+
28
+ end
29
+ ``` 
30
+
17
31
  どこに間違いがありますか?他に方法はありますか?