diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20180125214301_create_user_callouts.rb | 2 | ||||
-rw-r--r-- | db/schema.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/db/migrate/20180125214301_create_user_callouts.rb b/db/migrate/20180125214301_create_user_callouts.rb index 945f4181274..856eff36ae0 100644 --- a/db/migrate/20180125214301_create_user_callouts.rb +++ b/db/migrate/20180125214301_create_user_callouts.rb @@ -7,7 +7,7 @@ class CreateUserCallouts < ActiveRecord::Migration def change create_table :user_callouts do |t| - t.string :feature_name, null: false + t.integer :feature_name, null: false t.references :user, index: true, foreign_key: { on_delete: :cascade }, null: false end diff --git a/db/schema.rb b/db/schema.rb index 6e50b7681d0..14024164359 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1770,7 +1770,7 @@ ActiveRecord::Schema.define(version: 20180202111106) do add_index "user_agent_details", ["subject_id", "subject_type"], name: "index_user_agent_details_on_subject_id_and_subject_type", using: :btree create_table "user_callouts", force: :cascade do |t| - t.string "feature_name", null: false + t.integer "feature_name", null: false t.integer "user_id", null: false end |