Sha256: d070963e2396d9d3fa5fb5cc470c5b831f199563b3e4b4c2ab297e6c35949a7b

Contents?: true

Size: 470 Bytes

Versions: 5

Compression:

Stored size: 470 Bytes

Contents

class CreateOauthAccessCards < ActiveRecord::Migration[5.1]
  def change
    create_table :oauth_access_cards do |t|
      t.belongs_to :user_card, index: true, null: false, foreign_key: true

      t.string :photourl

      t.boolean :active

      t.string :oauth_name, null: true, index: true
      t.string :oauth_uid, null: true, index: true
      t.string :access_token, null: true
      t.datetime :token_expired, null: true

      t.timestamps
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
digital_heroes_startkit-0.1.1.4 lib/generators/project/db/migrate/15_create_oauth_access_cards.rb
digital_heroes_startkit-0.1.1.3 lib/generators/project/db/migrate/15_create_oauth_access_cards.rb
digital_heroes_startkit-0.1.1.2 lib/generators/project/db/migrate/15_create_oauth_access_cards.rb
digital_heroes_startkit-0.1.1.1 lib/generators/project/db/migrate/15_create_oauth_access_cards.rb
digital_heroes_startkit-0.1.1 lib/generators/project/db/migrate/15_create_oauth_access_cards.rb