# This migration comes from corrector (originally 20141014223624) class CreateCorrectorBases < ActiveRecord::Migration def change create_table :corrector_bases do |t| t.string :type, limit: 6 t.string :from, null: false t.string :to, null: false t.string :scope end add_index :corrector_bases, [:scope, :from], unique: true add_index :corrector_bases, :type end end