From 7766f7bfecd902ab43834078908663616af78dfe Mon Sep 17 00:00:00 2001 From: cxt <853663049@qq.com> Date: Fri, 19 Jul 2019 18:37:43 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/migrate/20190716073605_create_user_agents.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/db/migrate/20190716073605_create_user_agents.rb b/db/migrate/20190716073605_create_user_agents.rb index 22bc181e..1b2e6844 100644 --- a/db/migrate/20190716073605_create_user_agents.rb +++ b/db/migrate/20190716073605_create_user_agents.rb @@ -1,12 +1,12 @@ class CreateUserAgents < ActiveRecord::Migration def change - create_table :user_agents do |t| - t.string :type - t.string :key - t.string :ip - - t.timestamps - end - add_index(:user_agents, :ip, :unique => true) + # create_table :user_agents do |t| + # t.string :type + # t.string :key + # t.string :ip + # + # t.timestamps + # end + # add_index(:user_agents, :ip, :unique => true) end end