Sha256: 7f11445bb954016bb0e6037d00dfeca1fdfcba4d2cc5cbf7d184c405a4ea25a8
Contents?: true
Size: 576 Bytes
Versions: 19
Compression:
Stored size: 576 Bytes
Contents
class CreateFlipperTables < ActiveRecord::Migration def self.up create_table :flipper_features do |t| t.string :key, null: false t.timestamps null: false end add_index :flipper_features, :key, unique: true create_table :flipper_gates do |t| t.string :feature_key, null: false t.string :key, null: false t.string :value t.timestamps null: false end add_index :flipper_gates, [:feature_key, :key, :value], unique: true end def self.down drop_table :flipper_gates drop_table :flipper_features end end
Version data entries
19 entries across 19 versions & 2 rubygems