1 class AddCustomWidgetSupport < ActiveRecord::Migration
4 create_table :skin_pictures, :force => true do |t|
5 t.column :filename, :string
6 t.column :content_type, :string
7 t.column :size, :integer
8 t.column :width, :integer
9 t.column :height, :integer
10 t.column :created_at, :datetime
11 t.column :user_id, :integer
14 add_column :elections, :embed_custom_string, :string, :default => nil
19 drop_table :skin_pictures
21 remove_column :elections, :embed_custom_string