質問編集履歴
2
sqlite .indicesコマンドの実行結果を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -171,3 +171,23 @@
|
|
171
171
|
database: db/development.sqlite3
|
172
172
|
|
173
173
|
```
|
174
|
+
|
175
|
+
|
176
|
+
|
177
|
+
sqlite .indicesコマンド
|
178
|
+
|
179
|
+
|
180
|
+
|
181
|
+
```shell
|
182
|
+
|
183
|
+
>sqlite3 development.sqlite3
|
184
|
+
|
185
|
+
SQLite version 3.8.7.2 2014-11-18 20:57:56
|
186
|
+
|
187
|
+
Enter ".help" for usage hints.
|
188
|
+
|
189
|
+
sqlite> .indices
|
190
|
+
|
191
|
+
Error: malformed database schema (index_hoges_on_foo_id,_and_bar_id) - table hoges has no column named foo_id,
|
192
|
+
|
193
|
+
```
|
1
hogesテーブルの情報を追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,6 +92,14 @@
|
|
92
92
|
|
93
93
|
|
94
94
|
|
95
|
+
hogesテーブル
|
96
|
+
|
97
|
+
|
98
|
+
|
99
|
+
![hogesテーブル](a7877354f2ca09807d0d4270f3c4b5f4.png)
|
100
|
+
|
101
|
+
|
102
|
+
|
95
103
|
rails -v
|
96
104
|
|
97
105
|
|