Sha256: 9a61f403e4a4a460ce3999dc11b7ff73cab287e34453809dbdcda0abde834668

Contents?: true

Size: 442 Bytes

Versions: 43

Compression:

Stored size: 442 Bytes

Contents

class CreateMartyApiConfigs < ActiveRecord::Migration
  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

43 entries across 43 versions & 1 rubygems

Version Path
marty-1.2.9 db/migrate/300_create_marty_api_configs.rb
marty-1.2.8 db/migrate/300_create_marty_api_configs.rb
marty-1.2.7 db/migrate/300_create_marty_api_configs.rb
marty-1.2.6 db/migrate/300_create_marty_api_configs.rb
marty-1.2.5 db/migrate/300_create_marty_api_configs.rb
marty-1.2.4 db/migrate/300_create_marty_api_configs.rb
marty-1.2.3 db/migrate/300_create_marty_api_configs.rb
marty-1.2.2 db/migrate/300_create_marty_api_configs.rb
marty-1.2.1 db/migrate/300_create_marty_api_configs.rb
marty-1.2.0 db/migrate/300_create_marty_api_configs.rb
marty-1.1.9 db/migrate/300_create_marty_api_configs.rb
marty-1.1.8 db/migrate/300_create_marty_api_configs.rb
marty-1.1.7 db/migrate/300_create_marty_api_configs.rb
marty-1.1.6 db/migrate/300_create_marty_api_configs.rb
marty-1.1.5 db/migrate/300_create_marty_api_configs.rb
marty-1.1.4 db/migrate/300_create_marty_api_configs.rb
marty-1.1.3 db/migrate/300_create_marty_api_configs.rb
marty-1.1.2 db/migrate/300_create_marty_api_configs.rb
marty-1.1.1 db/migrate/300_create_marty_api_configs.rb
marty-1.0.54 db/migrate/300_create_marty_api_configs.rb