Sha256: 3ffe38ea2cbc6bd596e03933526dbbcf9a29362503441d9d68bf4879f6c58646

Contents?: true

Size: 292 Bytes

Versions: 20

Compression:

Stored size: 292 Bytes

Contents

class CreateFeaturedWorks < ActiveRecord::Migration
  def change
    create_table :featured_works do |t|
      t.integer :order, default: 5
      t.string :work_id

      t.timestamps null: false
    end
    add_index :featured_works, :work_id
    add_index :featured_works, :order
  end
end

Version data entries

20 entries across 20 versions & 3 rubygems

Version Path
sufia-7.4.1 db/migrate/20160328222165_create_featured_works.rb
sufia-7.4.0 db/migrate/20160328222165_create_featured_works.rb
hyrax-1.0.1 db/migrate/20160328222165_create_featured_works.rb
hyrax-1.0.0.rc2 db/migrate/20160328222165_create_featured_works.rb
sufia-7.3.1 db/migrate/20160328222165_create_featured_works.rb
hyrax-1.0.0.rc1 db/migrate/20160328222165_create_featured_works.rb
sufia-7.3.0 db/migrate/20160328222165_create_featured_works.rb
sufia-7.3.0.rc3 db/migrate/20160328222165_create_featured_works.rb
sufia-7.3.0.rc2 db/migrate/20160328222165_create_featured_works.rb
sufia-7.3.0.rc1 db/migrate/20160328222165_create_featured_works.rb
test_hyrax-0.0.1.alpha db/migrate/20160328222165_create_featured_works.rb
sufia-7.2.0 db/migrate/20160328222165_create_featured_works.rb
sufia-7.1.0 db/migrate/20160328222165_create_featured_works.rb
sufia-7.0.0 db/migrate/20160328222165_create_featured_works.rb
sufia-7.0.0.rc2 db/migrate/20160328222165_create_featured_works.rb
sufia-7.0.0.rc1 db/migrate/20160328222165_create_featured_works.rb
sufia-7.0.0.beta4 db/migrate/20160328222165_create_featured_works.rb
sufia-7.0.0.beta3 lib/generators/sufia/templates/migrations/create_featured_works.rb
sufia-7.0.0.beta2 lib/generators/sufia/templates/migrations/create_featured_works.rb
sufia-7.0.0.beta1 lib/generators/sufia/templates/migrations/create_featured_works.rb