Sha256: aafe20180e40308d64be3d4fd8840ede2872c6a3009ec69ec2cb6337cab28e6a
Contents?: true
Size: 501 Bytes
Versions: 11
Compression:
Stored size: 501 Bytes
Contents
require "historiographer/postgres_migration" class CreateEasyMLFeatureHistories < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>] def change unless table_exists?(:easy_ml_feature_histories) create_table :easy_ml_feature_histories do |t| t.histories( foreign_key: :feature_id, index_names: { [:dataset_id, :feature_position] => "idx_feature_histories_on_dataset_and_position" } ) end end end end
Version data entries
11 entries across 11 versions & 1 rubygems