Sha256: d57fa6d5b0d6a301a3795fae84113737f02cd24a49a6146f8fca8d96c18c51df
Contents?: true
Size: 599 Bytes
Versions: 60
Compression:
Stored size: 599 Bytes
Contents
class CreateFlipperTablesSequel < Sequel::Migration def up create_table :flipper_features do |_t| String :key, primary_key: true, null: false DateTime :created_at, null: false DateTime :updated_at, null: false end create_table :flipper_gates do |_t| String :feature_key, null: false String :key, null: false String :value DateTime :created_at, null: false DateTime :updated_at, null: false primary_key [:feature_key, :key, :value] end end def down drop_table :flipper_gates drop_table :flipper_features end end
Version data entries
60 entries across 60 versions & 1 rubygems