Sha256: c65c452df14d2e7df24a4975f2785b259eedb7eec62fd81293e44e0d66eda3f1

Contents?: true

Size: 849 Bytes

Versions: 21

Compression:

Stored size: 849 Bytes

Contents

class AddMissingTimestampColumns < ActiveRecord::Migration[4.2]
  def change
    # Missing updated_at
    add_column :friendly_id_slugs, :updated_at, :datetime, null: true

    # Missing created_at
    add_column :spree_countries, :created_at, :datetime, null: true
    add_column :spree_states, :created_at, :datetime, null: true
    add_column :spree_variants, :created_at, :datetime, null: true

    # Missing timestamps
    add_timestamps(:spree_option_values_variants, null: true)
    add_timestamps(:spree_products_taxons, null: true)
    add_timestamps(:spree_promotion_action_line_items, null: true)
    add_timestamps(:spree_promotion_actions, null: true)
    add_timestamps(:spree_reimbursement_credits, null: true)
    add_timestamps(:spree_roles, null: true)
    add_timestamps(:spree_variant_property_rule_values, null: true)
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.3.1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.2.2 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.1.1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.0.3 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.3.0 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.3.0.rc3 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.3.0.rc2 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.3.0.rc1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.3.0.beta1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.0.2 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.2.1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.2.0 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.2.0.rc1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.2.0.beta1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.1.0 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.1.0.rc1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.0.1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.1.0.beta1 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.0.0 db/migrate/20160330204846_add_missing_timestamp_columns.rb
solidus_core-2.0.0.rc1 db/migrate/20160330204846_add_missing_timestamp_columns.rb