lib/generators/deimos/db_backend/templates/migration in deimos-ruby-1.8.0.pre.beta2 vs lib/generators/deimos/db_backend/templates/migration in deimos-ruby-1.8.1.pre.beta1
- old
+ new
@@ -14,9 +14,10 @@
t.string :topic, null: false
t.string :locked_by
t.datetime :locked_at
t.boolean :error, null: false, default: false
t.integer :retries, null: false, default: 0
+ t.datetime :last_processed_at
end
add_index :kafka_topic_info, :topic, unique: true
add_index :kafka_topic_info, [:locked_by, :error]
add_index :kafka_topic_info, :locked_at
end