Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 97 lines (88 sloc) 3.545 kb
9412332 tests
technoweenie authored
1 ActiveRecord::Schema.define(:version => 0) do
2 create_table :attachments, :force => true do |t|
3 t.column :db_file_id, :integer
4 t.column :parent_id, :integer
5 t.column :thumbnail, :string
6 t.column :filename, :string, :limit => 255
7 t.column :content_type, :string, :limit => 255
8 t.column :size, :integer
9 t.column :width, :integer
10 t.column :height, :integer
11 t.column :aspect_ratio, :float
12 end
13
14 create_table :file_attachments, :force => true do |t|
15 t.column :parent_id, :integer
16 t.column :thumbnail, :string
17 t.column :filename, :string, :limit => 255
18 t.column :content_type, :string, :limit => 255
19 t.column :size, :integer
20 t.column :width, :integer
21 t.column :height, :integer
22 t.column :type, :string
23 t.column :aspect_ratio, :float
24 end
25
e29c9e4 Fixed a discrepancy in the comments for image_science_processor.rb where...
Jason Seifer authored
26 create_table :gd2_attachments, :force => true do |t|
27 t.column :parent_id, :integer
28 t.column :thumbnail, :string
29 t.column :filename, :string, :limit => 255
30 t.column :content_type, :string, :limit => 255
31 t.column :size, :integer
32 t.column :width, :integer
33 t.column :height, :integer
34 t.column :type, :string
35 end
36
43d1298 add image science support
technoweenie authored
37 create_table :image_science_attachments, :force => true do |t|
38 t.column :parent_id, :integer
39 t.column :thumbnail, :string
40 t.column :filename, :string, :limit => 255
41 t.column :content_type, :string, :limit => 255
42 t.column :size, :integer
43 t.column :width, :integer
44 t.column :height, :integer
adf7694 add MiniMagick support to attachment_fu [Isacc]
technoweenie authored
45 t.column :type, :string
46 end
47
48 create_table :mini_magick_attachments, :force => true do |t|
49 t.column :parent_id, :integer
50 t.column :thumbnail, :string
51 t.column :filename, :string, :limit => 255
52 t.column :content_type, :string, :limit => 255
53 t.column :size, :integer
54 t.column :width, :integer
55 t.column :height, :integer
56 t.column :type, :string
57 end
58
59 create_table :mini_magick_attachments, :force => true do |t|
60 t.column :parent_id, :integer
61 t.column :thumbnail, :string
62 t.column :filename, :string, :limit => 255
63 t.column :content_type, :string, :limit => 255
64 t.column :size, :integer
65 t.column :width, :integer
66 t.column :height, :integer
43d1298 add image science support
technoweenie authored
67 t.column :type, :string
68 end
69
9412332 tests
technoweenie authored
70 create_table :orphan_attachments, :force => true do |t|
71 t.column :db_file_id, :integer
72 t.column :filename, :string, :limit => 255
73 t.column :content_type, :string, :limit => 255
74 t.column :size, :integer
75 end
76
77 create_table :minimal_attachments, :force => true do |t|
78 t.column :size, :integer
79 t.column :content_type, :string, :limit => 255
80 end
81
82 create_table :db_files, :force => true do |t|
83 t.column :data, :binary
84 end
7be8acf updates to s3 support with remote tests
technoweenie authored
85
86 create_table :s3_attachments, :force => true do |t|
87 t.column :parent_id, :integer
88 t.column :thumbnail, :string
89 t.column :filename, :string, :limit => 255
90 t.column :content_type, :string, :limit => 255
91 t.column :size, :integer
92 t.column :width, :integer
93 t.column :height, :integer
94 t.column :type, :string
95 t.column :aspect_ratio, :float
96 end
9412332 tests
technoweenie authored
97 end
Something went wrong with that request. Please try again.