-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patht_item = Item.first
100 lines (100 loc) · 7.18 KB
/
t_item = Item.first
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
=>
[[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a25478[0m
@auto_increment[32m=[0m[36m[1mtrue[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mid[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mfalse[0m,
@rowid[32m=[0m[36m[1mtrue[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d58c58[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[36m[1mnil[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mINTEGER[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33minteger[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a23a38[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mname[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mtrue[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d58398[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[36m[1mnil[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mvarchar[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33mstring[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a22458[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mdescription[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mtrue[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d57858[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[36m[1mnil[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mTEXT[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33mtext[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a208d8[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mprice[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mtrue[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d573f8[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[34m[1m10[0m, @scale[32m=[0m[34m[1m2[0m, @sql_type[32m=[0m[31m[1m"[0m[31mdecimal(10,2)[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33mdecimal[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a7fe78[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mcategory[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mtrue[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d58398[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[36m[1mnil[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mvarchar[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33mstring[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a7eb18[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mrequired_level[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mtrue[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d58c58[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[36m[1mnil[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mINTEGER[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33minteger[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a7e118[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mcreated_at[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mfalse[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d56bd8[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[34m[1m6[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mdatetime(6)[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33mdatetime[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a7db78[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mupdated_at[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mfalse[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d56bd8[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[34m[1m6[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mdatetime(6)[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33mdatetime[0m[32m>[0m[32m>[0m,
[32m#<ActiveRecord::ConnectionAdapters::SQLite3::Column:0x00007f2960a7d538[0m
@auto_increment[32m=[0m[36m[1mnil[0m,
@collation[32m=[0m[36m[1mnil[0m,
@comment[32m=[0m[36m[1mnil[0m,
@default[32m=[0m[36m[1mnil[0m,
@default_function[32m=[0m[36m[1mnil[0m,
@generated_type[32m=[0m[36m[1mnil[0m,
@name[32m=[0m[31m[1m"[0m[31mimage_url[0m[31m[1m"[0m,
@null[32m=[0m[36m[1mtrue[0m,
@rowid[32m=[0m[36m[1mfalse[0m,
@sql_type_metadata[32m=[0m[32m#<ActiveRecord::ConnectionAdapters::SqlTypeMetadata:0x00007f2960d58398[0m @limit[32m=[0m[36m[1mnil[0m, @precision[32m=[0m[36m[1mnil[0m, @scale[32m=[0m[36m[1mnil[0m, @sql_type[32m=[0m[31m[1m"[0m[31mvarchar[0m[31m[1m"[0m, @type[32m=[0m[33m:[0m[33mstring[0m[32m>[0m[32m>[0m]