Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
104 lines (84 sloc) 2.23 KB
ActiveRecord::Schema.define do
self.verbose = false
create_table :addresses, :force => true do |t|
t.string :city
t.string :can_be_type
t.timestamps
end
create_table :people, :force => true do |t|
t.string :gender
t.timestamps
end
create_table :block_options, :force => true do |t|
t.string :option_type
t.timestamps
end
create_table :custom_uploads, :force => true do |t|
t.string :can_be_type
t.integer :custom_details_id
t.string :custom_details_type
t.timestamps
end
create_table :custom_image_upload_details, :force => true do |t|
t.string :format
t.timestamps
end
create_table :custom_video_upload_details, :force => true do |t|
t.string :encoding
t.timestamps
end
create_table :custom_thumbnail_upload_details, :force => true do |t|
t.timestamps
end
create_table :uploads, :force => true do |t|
t.string :can_be_type
t.integer :details_id
t.string :details_type
t.timestamps
end
create_table :image_upload_details, :force => true do |t|
t.string :format
t.timestamps
end
create_table :video_upload_details, :force => true do |t|
t.string :encoding
t.timestamps
end
create_table :thumbnail_upload_details, :force => true do |t|
t.timestamps
end
create_table :history_uploads, :force => true do |t|
t.string :can_be_type
t.integer :details_id
t.string :details_type
t.timestamps
end
create_table :history_image_upload_details, :force => true do |t|
t.string :format
t.timestamps
end
create_table :history_video_upload_details, :force => true do |t|
t.string :encoding
t.timestamps
end
create_table :history_thumbnail_upload_details, :force => true do |t|
t.timestamps
end
create_table :history_upload_history_records, :force => true do |t|
t.integer :can_be_model_id
t.string :can_be_type
t.integer :can_be_details_id
t.string :can_be_details_type
t.timestamps
end
create_table :config_spec_models, :force => true do |t|
t.string :can_be_type
t.timestamps
end
create_table :config_spec_details, :force => true do |t|
t.timestamps
end
create_table :config_spec_details2, :force => true do |t|
t.timestamps
end
end