Sha256: 072658823c23f9ab861c66fe919aeed9ffe5405b4d3d95bb2456afc9c698590c

Contents?: true

Size: 186 Bytes

Versions: 6

Compression:

Stored size: 186 Bytes

Contents

class AddPublishedAtToCasContents < ActiveRecord::Migration[5.0]
  def change
    add_column :cas_contents, :published_at, :datetime
    add_index :cas_contents, :published_at
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cas-cms-1.0.0.alpha2 db/migrate/20170801173256_add_published_at_to_cas_contents.rb
cas-cms-1.0.0.alpha1 db/migrate/20170801173256_add_published_at_to_cas_contents.rb
cas-cms-0.1.3 db/migrate/20170801173256_add_published_at_to_cas_contents.rb
cas-cms-0.1.2 db/migrate/20170801173256_add_published_at_to_cas_contents.rb
cas-cms-0.1.1 db/migrate/20170801173256_add_published_at_to_cas_contents.rb
cas-cms-0.1.0 db/migrate/20170801173256_add_published_at_to_cas_contents.rb