Sha256: b1dc8e574a70a21a23cc3b6d01e8b466e6cd7437b8e4b5d935747c56e2ca0356

Contents?: true

Size: 327 Bytes

Versions: 18

Compression:

Stored size: 327 Bytes

Contents

class CreateNoteeTokens < ActiveRecord::Migration
  def change
    create_table :notee_tokens do |t|
      t.string :access_token,    null: false
      t.integer :user_id
      t.datetime :expires_at,    null: false

      t.timestamps null: false
    end

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

Version data entries

18 entries across 18 versions & 1 rubygems

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