Sha256: 5748847b3e29d8a8ad5b191627c5f5812c721f29281116d523527c14f6f2f8b2
Contents?: true
Size: 539 Bytes
Versions: 8
Compression:
Stored size: 539 Bytes
Contents
class CreateDockerRegistries < ActiveRecord::Migration def change create_table :docker_registries do |t| t.string :url t.string :name t.string :description t.timestamps end create_table :docker_image_docker_registries do |t| t.integer :docker_registry_id t.integer :docker_image_id end add_index :docker_image_docker_registries, [:docker_registry_id, :docker_image_id], :name => 'by_docker_image_and_registry', :unique => true end end
Version data entries
8 entries across 8 versions & 1 rubygems