Skip to content

Instantly share code, notes, and snippets.

@IanVaughan
Created March 18, 2020 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IanVaughan/a93badf262bf78f5b68adda9ae635bd8 to your computer and use it in GitHub Desktop.
Save IanVaughan/a93badf262bf78f5b68adda9ae635bd8 to your computer and use it in GitHub Desktop.
Flipper schema commit
diff --git a/db/schema.rb b/db/schema.rb
index 79ce7b88..d9914a59 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
-ActiveRecord::Schema.define(version: 2020_03_16_124239) do
+ActiveRecord::Schema.define(version: 2020_03_17_181241) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -286,6 +286,22 @@ ActiveRecord::Schema.define(version: 2020_03_16_124239) do
t.string "other_ads"
end
+ create_table "flipper_features", force: :cascade do t
+ t.string "key", null: false
+ t.datetime "created_at", precision: 6, null: false
+ t.datetime "updated_at", precision: 6, null: false
+ t.index ["key"], name: "index_flipper_features_on_key", unique: true
+ end
+
+ create_table "flipper_gates", force: :cascade do t
+ t.string "feature_key", null: false
+ t.string "key", null: false
+ t.string "value"
+ t.datetime "created_at", precision: 6, null: false
+ t.datetime "updated_at", precision: 6, null: false
+ t.index ["feature_key", "key", "value"], name: "index_flipper_gates_on_feature_key_and_key_and_value", unique: true
+ end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment