質問編集履歴
1
エラー記述の追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -36,7 +36,31 @@
|
|
36
36
|
Tasks: TOP => db:migrate
|
37
37
|
(See full trace by running task with --trace)
|
38
38
|
```
|
39
|
+
ブラウザ側
|
40
|
+
```
|
41
|
+
StandardError
|
42
|
+
An error has occurred, this and all later migrations canceled:
|
43
|
+
PG::DuplicateTable: ERROR: relation "tags" already exists
|
44
|
+
Extracted source (around line #113):
|
45
|
+
111
|
46
|
+
112
|
47
|
+
113
|
48
|
+
114
|
49
|
+
115
|
50
|
+
116
|
51
|
+
|
39
52
|
|
53
|
+
start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
54
|
+
result = exec_without_profiling(*args, &blk)
|
55
|
+
elapsed_time = SqlPatches.elapsed_time(start)
|
56
|
+
record = ::Rack::MiniProfiler.record_sql(args[0], elapsed_time)
|
57
|
+
result.instance_variable_set("@miniprofiler_sql_id", record) if result
|
58
|
+
|
59
|
+
Rails.root: /app
|
60
|
+
```
|
61
|
+
|
62
|
+
|
63
|
+
|
40
64
|
### 該当のソースコード
|
41
65
|
|
42
66
|
```db/migrate/20240206113552_create_post_tags.rb
|