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

質問編集履歴

2

sqlite .indicesコマンドの実行結果を追加

2021/02/18 14:03

投稿

PJZ9n
PJZ9n

スコア12

title CHANGED
File without changes
body CHANGED
@@ -84,4 +84,14 @@
84
84
  development:
85
85
  <<: *default
86
86
  database: db/development.sqlite3
87
+ ```
88
+
89
+ sqlite .indicesコマンド
90
+
91
+ ```shell
92
+ >sqlite3 development.sqlite3
93
+ SQLite version 3.8.7.2 2014-11-18 20:57:56
94
+ Enter ".help" for usage hints.
95
+ sqlite> .indices
96
+ Error: malformed database schema (index_hoges_on_foo_id,_and_bar_id) - table hoges has no column named foo_id,
87
97
  ```

1

hogesテーブルの情報を追加

2021/02/18 14:03

投稿

PJZ9n
PJZ9n

スコア12

title CHANGED
File without changes
body CHANGED
@@ -45,6 +45,10 @@
45
45
 
46
46
  ### 補足情報(FW/ツールのバージョンなど)
47
47
 
48
+ hogesテーブル
49
+
50
+ ![hogesテーブル](a7877354f2ca09807d0d4270f3c4b5f4.png)
51
+
48
52
  rails -v
49
53
 
50
54
  ```