1 class KioskMode < ActiveRecord::Migration
3 add_column :elections, :kiosk, :boolean,
4 :null => false, :default => false
5 add_column :elections, :verifiable, :boolean,
6 :null => false, :default => true
8 Election.find(:all).select {|e| e.class == QuickVote }.each do |e|
15 remove_column :elections, :kiosk
16 remove_column :elections, :verifiable