Project

General

Profile

Revision 7ff105d1

Added by David Davis about 7 years ago

Fixes #12681 - Support rubocop 0.35.1 by fixing broken rules

View differences:

db/migrate/20141222113313_create_wizard_states.rb
1 1
class CreateWizardStates < ActiveRecord::Migration
2 2
  # rubocop:disable Metrics/MethodLength
3 3
  def change
4
    create_table :docker_container_wizard_states do |t|
5
      t.timestamps
6
    end
4
    create_table :docker_container_wizard_states, &:timestamps
7 5

  
8 6
    create_table :docker_container_wizard_states_preliminaries do |t|
9 7
      t.integer :compute_resource_id, :null => false
......
11 9
      t.timestamps
12 10
    end
13 11

  
14
    create_table  :docker_container_wizard_states_images do |t|
12
    create_table :docker_container_wizard_states_images do |t|
15 13
      t.integer :registry_id
16 14
      t.string :repository_name, :null => false
17 15
      t.string :tag, :null => false
......
19 17
      t.timestamps
20 18
    end
21 19

  
22
    create_table  :docker_container_wizard_states_configurations do |t|
20
    create_table :docker_container_wizard_states_configurations do |t|
23 21
      t.string :name
24 22
      t.string :command
25 23
      t.string :entrypoint

Also available in: Unified diff