Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 41 lines (37 sloc) 1.437 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
26 create_table :orphan_attachments, :force => true do |t|
27 t.column :db_file_id, :integer
28 t.column :filename, :string, :limit => 255
29 t.column :content_type, :string, :limit => 255
30 t.column :size, :integer
31 end
32
33 create_table :minimal_attachments, :force => true do |t|
34 t.column :size, :integer
35 t.column :content_type, :string, :limit => 255
36 end
37
38 create_table :db_files, :force => true do |t|
39 t.column :data, :binary
40 end
41 end
Something went wrong with that request. Please try again.