diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:49:03 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-10-15 13:49:03 -0400 |
commit | 9d6d876c62408c69c654aab1a664f1294ec668b7 (patch) | |
tree | 45442d5895cc2c1dc6aac9f7a3b6abf64ded20bf /db/migrate/20171015171142_add_pokeviewer_token_to_user.rb | |
parent | 946eda79a292cb792a61a6d7ecb2ca932de65ecd (diff) | |
download | thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.tar.gz thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.tar.bz2 thoughts-9d6d876c62408c69c654aab1a664f1294ec668b7.zip |
Added pokeviewer
Diffstat (limited to 'db/migrate/20171015171142_add_pokeviewer_token_to_user.rb')
-rw-r--r-- | db/migrate/20171015171142_add_pokeviewer_token_to_user.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20171015171142_add_pokeviewer_token_to_user.rb b/db/migrate/20171015171142_add_pokeviewer_token_to_user.rb new file mode 100644 index 0000000..2dc5143 --- /dev/null +++ b/db/migrate/20171015171142_add_pokeviewer_token_to_user.rb | |||
@@ -0,0 +1,9 @@ | |||
1 | class AddPokeviewerTokenToUser < ActiveRecord::Migration[5.1] | ||
2 | def change | ||
3 | change_table :users do |t| | ||
4 | t.string :pokeviewer_token, limit: 191 | ||
5 | end | ||
6 | |||
7 | add_index :users, :pokeviewer_token, unique: true | ||
8 | end | ||
9 | end | ||