Sha256: a80df69296b110b9e5f71320d96f82bb723f08a19f76f1ef24cd814b5eb44007

Contents?: true

Size: 447 Bytes

Versions: 94

Compression:

Stored size: 447 Bytes

Contents

class CreateMartyApiConfigs < ActiveRecord::Migration[4.2]
  def change
    create_table :marty_api_configs do |t|
      t.timestamps null: false
      t.string :script, null: false
      t.string :node, null: true
      t.string :attr, null: true
      t.boolean :logged, null: false, default: false
      t.boolean :validated, null: false, default: false
    end
    add_index :marty_api_configs, [:script, :node, :attr], unique: true
  end
end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
marty-14.3.0 db/migrate/300_create_marty_api_configs.rb
marty-14.0.0 db/migrate/300_create_marty_api_configs.rb
marty-13.0.2 db/migrate/300_create_marty_api_configs.rb
marty-11.0.0 db/migrate/300_create_marty_api_configs.rb
marty-10.0.3 db/migrate/300_create_marty_api_configs.rb
marty-10.0.2 db/migrate/300_create_marty_api_configs.rb
marty-10.0.0 db/migrate/300_create_marty_api_configs.rb
marty-9.5.1 db/migrate/300_create_marty_api_configs.rb
marty-9.5.0 db/migrate/300_create_marty_api_configs.rb
marty-9.3.3 db/migrate/300_create_marty_api_configs.rb
marty-9.3.2 db/migrate/300_create_marty_api_configs.rb
marty-9.3.0 db/migrate/300_create_marty_api_configs.rb
marty-8.5.0 db/migrate/300_create_marty_api_configs.rb
marty-8.4.1 db/migrate/300_create_marty_api_configs.rb
marty-8.3.1 db/migrate/300_create_marty_api_configs.rb
marty-8.2.0 db/migrate/300_create_marty_api_configs.rb
marty-8.0.0 db/migrate/300_create_marty_api_configs.rb
marty-6.1.0 db/migrate/300_create_marty_api_configs.rb
marty-5.2.0 db/migrate/300_create_marty_api_configs.rb
marty-5.1.4 db/migrate/300_create_marty_api_configs.rb