Merged migrations.

This commit is contained in:
Martin Edenhofer 2015-09-26 15:40:05 +02:00
parent aaaf79120d
commit 14c95ce964

View file

@ -1,10 +1,5 @@
class CreateObjectManager < ActiveRecord::Migration
def up
add_column :tickets, :pending_time, :timestamp, null: true
add_index :tickets, [:pending_time]
add_column :tickets, :type, :string, limit: 100, null: true
add_index :tickets, [:type]
create_table :object_manager_attributes do |t|
t.references :object_lookup, null: false