質問編集履歴

2

テーブル定義追記

2019/12/06 02:43

投稿

yuuki0218
yuuki0218

スコア22

test CHANGED
File without changes
test CHANGED
@@ -195,3 +195,33 @@
195
195
 
196
196
 
197
197
  ```
198
+
199
+
200
+
201
+ 解決追記:
202
+
203
+ ```librarytranslations
204
+
205
+ Table "public.library_translations"
206
+
207
+ Column | Type | Modifiers
208
+
209
+ ----------------+------------------------+-----------------------------------------------------------------------
210
+
211
+ id | integer | not null default nextval('library_translations_id_seq'::regclass)
212
+
213
+ ndl_library_id | integer | not null
214
+
215
+ locale | character varying(255) | not null
216
+
217
+ name | text | not null
218
+
219
+ Indexes:
220
+
221
+ "library_translations_pkey" PRIMARY KEY, btree (id)
222
+
223
+ "LIBRARY_TRANSLATIONS_IDX2" btree (ndl_library_id, locale)
224
+
225
+
226
+
227
+ ```

1

テーブル定義追記

2019/12/06 02:43

投稿

yuuki0218
yuuki0218

スコア22

test CHANGED
File without changes
test CHANGED
@@ -57,3 +57,141 @@
57
57
 
58
58
 
59
59
  解決の糸口がつかめず難航しているため、エラーについての回答をお持ちのかたがいらっしゃいましたらご教示いただけますと幸いです。
60
+
61
+
62
+
63
+ 追記:
64
+
65
+ それぞれのテーブル定義について追記します
66
+
67
+ ```libraries
68
+
69
+ Table "public.libraries"
70
+
71
+ Column | Type | Modifiers
72
+
73
+ ------------------------------+------------------------+------------------------------------------------------------
74
+
75
+ id | integer | not null default nextval('libraries_id_seq'::regclass)
76
+
77
+ name | text |
78
+
79
+ code | text |
80
+
81
+ url | text |
82
+
83
+ locale | character varying(255) |
84
+
85
+ lat | character varying(255) |
86
+
87
+ lng | character varying(255) |
88
+
89
+ zip_code | character varying(255) |
90
+
91
+ prefecture | text |
92
+
93
+ address_line | text |
94
+
95
+ telephone_number | character varying(255) |
96
+
97
+ fax_number | character varying(255) |
98
+
99
+ ill_section_name | text |
100
+
101
+ ill_staff_name | text |
102
+
103
+ ill_staff_name_transcription | text |
104
+
105
+ director_name | text |
106
+
107
+ ill_reception_email | character varying(255) |
108
+
109
+ ill_availability | integer |
110
+
111
+ ill_method_email | integer |
112
+
113
+ ill_method_fax | integer |
114
+
115
+ ill_restriction | text |
116
+
117
+ ill_range | text |
118
+
119
+ ill_limit_number | text |
120
+
121
+ ill_period | text |
122
+
123
+ ill_letter | text |
124
+
125
+ ill_letter_format | text |
126
+
127
+ ill_official_stamp | text |
128
+
129
+ ill_method_fax_memo | text |
130
+
131
+ ill_memo | text |
132
+
133
+ ill_acceptance_time | text |
134
+
135
+ ill_carriage_load | text |
136
+
137
+ ill_returning_condition | text |
138
+
139
+ ill_book_inquiry | text |
140
+
141
+ ill_inquiry | text |
142
+
143
+ ill_special_memo | text |
144
+
145
+ ill_regulation | text |
146
+
147
+ ill_handling_condition | text |
148
+
149
+ ill_priority | integer |
150
+
151
+ data_provide | boolean |
152
+
153
+ ill_information | text |
154
+
155
+ contact_email | character varying(255) |
156
+
157
+ ill_request_email | character varying(255) |
158
+
159
+ ill_notify_email | character varying(255) |
160
+
161
+ Indexes:
162
+
163
+ "libraries_pkey" PRIMARY KEY, btree (id)
164
+
165
+
166
+
167
+
168
+
169
+ ```
170
+
171
+
172
+
173
+ ```librarytranslations
174
+
175
+ Table "public.library_translations"
176
+
177
+ Column | Type | Modifiers
178
+
179
+ ----------------+------------------------+-----------------------------------------------------------------------
180
+
181
+ id | integer | not null default nextval('library_translations_id_seq'::regclass)
182
+
183
+ library_id | integer | not null
184
+
185
+ locale | character varying(255) | not null
186
+
187
+ name | text | not null
188
+
189
+ Indexes:
190
+
191
+ "LIBRARY_TRANSLATIONS_IDX2" btree (library_id, locale)
192
+
193
+
194
+
195
+
196
+
197
+ ```