Sha256: 9614f31e5491b18096bf4f801e10bebf85cea042799ae0c6b2e42bcf6df41bb4
Contents?: true
Size: 312 Bytes
Versions: 6
Compression:
Stored size: 312 Bytes
Contents
class CreateRemoteTokens < ActiveRecord::Migration def self.up create_table :remote_tokens do |t| t.references :user t.string :token t.datetime :created_at end add_index :remote_tokens, :token, :unique => true end def self.down drop_table :remote_tokens end end
Version data entries
6 entries across 6 versions & 1 rubygems