]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/040_create_oauth_tables.rb
Fix most auto-correctable rubocop issues
[rails.git] / db / migrate / 040_create_oauth_tables.rb
index 95d690512300fbcbeaaf9c86509ff74d258cfd8b..4b372536535efef4cc7a2af39b712783d65b0327 100644 (file)
@@ -12,7 +12,7 @@ class CreateOauthTables < ActiveRecord::Migration
       t.timestamps
     end
     add_index :client_applications, :key, :unique => true
-    
+
     create_table :oauth_tokens do |t|
       t.integer :user_id
       t.string :type, :limit => 20
@@ -22,9 +22,9 @@ class CreateOauthTables < ActiveRecord::Migration
       t.timestamp :authorized_at, :invalidated_at
       t.timestamps
     end
-    
+
     add_index :oauth_tokens, :token, :unique => true
-    
+
     create_table :oauth_nonces do |t|
       t.string :nonce
       t.integer :timestamp
@@ -32,7 +32,6 @@ class CreateOauthTables < ActiveRecord::Migration
       t.timestamps
     end
     add_index :oauth_nonces, [:nonce, :timestamp], :unique => true
-    
   end
 
   def self.down
@@ -40,5 +39,4 @@ class CreateOauthTables < ActiveRecord::Migration
     drop_table :oauth_tokens
     drop_table :oauth_nonces
   end
-
 end