Sha256: e2f810502484048c56babd57da778e5cb1dbf1527c79788b7304834c9b4588af

Contents?: true

Size: 290 Bytes

Versions: 40

Compression:

Stored size: 290 Bytes

Contents

require "historiographer/postgres_migration"

class CreateEasyMLDatasourceHistories < ActiveRecord::Migration[<%= ActiveRecord::Migration.current_version %>]
  def change
    create_table :easy_ml_datasource_histories do |t|
      t.histories(foreign_key: :datasource_id)
    end
  end
end 

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
easy_ml-0.2.0.pre.rc40 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc39 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc38 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc37 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc36 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc35 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc34 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc33 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc32 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc31 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc30 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc29 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc28 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc27 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc26 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc25 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc24 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc23 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc22 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt
easy_ml-0.2.0.pre.rc21 lib/easy_ml/railtie/templates/migration/create_easy_ml_datasource_histories.rb.tt