diff --git a/db/migrate/09_create_register_tokens.rb b/db/migrate/09_create_register_tokens.rb index ad317d7..fbaa096 100644 --- a/db/migrate/09_create_register_tokens.rb +++ b/db/migrate/09_create_register_tokens.rb @@ -1,6 +1,6 @@ class CreateRegisterTokens < ActiveRecord::Migration def change - create_table :register_tokens, id: :false do |t| + create_table :register_tokens, id: false do |t| t.string :uuid, limit: 32, unique: true, primary: true, null: false t.string :token, limit: 6, null: false t.string :email, unique: true, null: false