Sha256: e8cb3cd410c4585efa7de1af320d853870e64b9666d30b140fcdfec64ea9e5c7

Contents?: true

Size: 326 Bytes

Versions: 2

Compression:

Stored size: 326 Bytes

Contents

class CreateFeatureGateGatedFeatures < ActiveRecord::Migration
  def change
    create_table :feature_gate_gated_features do |t|
      t.text :name, null: false
      t.boolean :gated, default: true, null: false
      t.timestamps null: false
    end

    add_index :feature_gate_gated_features, :name, unique: true
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
feature_gate-0.2.6 db/migrate/1_create_feature_gate_gated_features.rb
feature_gate-0.2.5 db/migrate/1_create_feature_gate_gated_features.rb