Sha256: d295e83464bd9b3064cd5f7970b0bbd50f85842a81dc01bd4692ad779463c62d

Contents?: true

Size: 366 Bytes

Versions: 29

Compression:

Stored size: 366 Bytes

Contents

# This migration comes from notee (originally 20160608102012)
class CreateNoteeTokens < ActiveRecord::Migration
  def change
    create_table :notee_tokens do |t|
      t.string :access_token,    null: false
      t.datetime :expires_at,    null: false

      t.timestamps null: false
    end

    add_index :notee_tokens, [:access_token], :unique => true
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
notee-1.1.2.4 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.1.2.3 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.1.2.2 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.1.2.1 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.1.2 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.1.1 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.1.0 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.8 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.7 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.6 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.5 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.4 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.3 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.2 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.1 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-1.0.0 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-0.4.0 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-0.3.7 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-0.3.6 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb
notee-0.3.5 test/dummy/db/migrate/20160713102623_create_notee_tokens.notee.rb