lib/etl/execution/migration.rb in activewarehouse-etl-0.9.1 vs lib/etl/execution/migration.rb in activewarehouse-etl-0.9.5.rc1
- old
+ new
@@ -72,9 +72,14 @@
end
def migration_4
connection.drop_table :records
end
+
+ def migration_5
+ connection.add_column :batches, :batch_id, :integer
+ connection.add_index :batches, :batch_id
+ end
# Update the schema info table, setting the version value
def update_schema_info(version)
connection.update("UPDATE #{schema_info_table_name} SET version = #{version}")
end