Sha256: 6d89d4cea168b527c1ee6fffbb8804bcf163f7230a54b5eb6332e4615262aec9

Contents?: true

Size: 378 Bytes

Versions: 13

Compression:

Stored size: 378 Bytes

Contents

class CreateStars < ActiveRecord::Migration[5.0]
  def change
    create_table "stars" do |t|
      t.integer  "user_id",           limit: 4, null: false
      t.integer  "job_definition_id", limit: 4, null: false
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "stars", ["user_id", "job_definition_id"], unique: true, using: :btree
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kuroko2-0.8.0 db/migrate/011_create_stars.rb
kuroko2-0.7.0 db/migrate/011_create_stars.rb
kuroko2-0.6.0 db/migrate/011_create_stars.rb
kuroko2-0.5.2 db/migrate/011_create_stars.rb
kuroko2-0.5.1 db/migrate/011_create_stars.rb
kuroko2-0.5.0 db/migrate/011_create_stars.rb
kuroko2-0.4.6 db/migrate/011_create_stars.rb
kuroko2-0.4.5 db/migrate/011_create_stars.rb
kuroko2-0.4.4 db/migrate/011_create_stars.rb
kuroko2-0.4.3 db/migrate/011_create_stars.rb
kuroko2-0.4.2 db/migrate/011_create_stars.rb
kuroko2-0.4.1 db/migrate/011_create_stars.rb
kuroko2-0.4.0 db/migrate/011_create_stars.rb