Sha256: 125ac53ae47fd74dd0e6ec3ac22be34071f7cd4e817328fa1ad00c750f7684fb

Contents?: true

Size: 304 Bytes

Versions: 17

Compression:

Stored size: 304 Bytes

Contents

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

17 entries across 17 versions & 1 rubygems

Version Path
notee-0.3.6 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.3.5 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.3.4.1 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.3.4 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.3.3 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.3.2 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.3.1 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.3.0 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.9 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.8 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.7 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.6 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.5 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.4 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.2 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.1 db/migrate/20160608102012_create_notee_tokens.rb
notee-0.2.0 db/migrate/20160608102012_create_notee_tokens.rb