diff options
author | spag <spag@golwen.net> | 2013-02-10 09:52:31 +0100 |
---|---|---|
committer | spag <spag@golwen.net> | 2013-02-10 09:52:31 +0100 |
commit | 33e88d16edc4d9f8047ef1a2087134c54f169c21 (patch) | |
tree | 54709725d4933736602ab646002dc94fe20bcf45 /db | |
parent | 4c9cc92c0a49ec34c8bf00e31d1710450fb533fa (diff) |
key index added
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20130210075617_create_intruders.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/db/migrate/20130210075617_create_intruders.rb b/db/migrate/20130210075617_create_intruders.rb index bd4db0b..fc944cc 100644 --- a/db/migrate/20130210075617_create_intruders.rb +++ b/db/migrate/20130210075617_create_intruders.rb @@ -18,6 +18,8 @@ class CreateIntruders < ActiveRecord::Migration t.string :comment t.timestamps end + + add_index :intruders, :key, :unique => true end def self.down |