Sha256: 51b66e80b9ec59e92ce9ecf57d41c85b5107bc6731e429136c6b364f30f4929c

Contents?: true

Size: 231 Bytes

Versions: 12

Compression:

Stored size: 231 Bytes

Contents

class CreateFeatures < ActiveRecord::Migration
  def change
    create_table :features do |t|
      t.string :key, null: false
      t.boolean :enabled, null: false, default: false

      t.timestamps null: false
    end
  end
end

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
flip-1.0.1 lib/generators/flip/migration/templates/create_features.rb
flip-1.0.0 lib/generators/flip/migration/templates/create_features.rb
flip-0.2.1 lib/generators/flip/migration/templates/create_features.rb
flip-0.2.0 lib/generators/flip/migration/templates/create_features.rb
flip_fork-0.1.1 lib/generators/flip/migration/templates/create_features.rb
flip_fork-0.1.0 lib/generators/flip/migration/templates/create_features.rb
flip-0.1.0 lib/generators/flip/migration/templates/create_features.rb
flip-0.0.4 lib/generators/flip/migration/templates/create_features.rb
flip-0.0.3 lib/generators/flip/migration/templates/create_features.rb
flip-0.0.2 lib/generators/flip/migration/templates/create_features.rb
flip-0.0.1 lib/generators/flip/migration/templates/create_features.rb
flip-0.0.1.alpha2 lib/generators/flip/migration/templates/create_features.rb