質問編集履歴
1
追加コード
title
CHANGED
File without changes
|
body
CHANGED
@@ -4,7 +4,23 @@
|
|
4
4
|
どなたか、教えていただけないでしょうか?
|
5
5
|
よろしくお願い致します。
|
6
6
|
|
7
|
+
```ここに言語を入力
|
8
|
+
class CreateCoMemberImages < ActiveRecord::Migration
|
9
|
+
def change
|
10
|
+
create_table :co_member_images do |t|
|
11
|
+
t.references :co_member, null: false
|
12
|
+
t.binary :data
|
13
|
+
t.string :content_type
|
7
14
|
|
15
|
+
t.timestamps
|
16
|
+
end
|
17
|
+
|
18
|
+
add_index :co_member_images, :co_member_id
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
```
|
23
|
+
|
8
24
|
[edit.html.erb]
|
9
25
|
```
|
10
26
|
<% @title = 'アカウント編集' %>
|