Sha256: 4b227d3508df2980468f307004105c98a629123883389a112c602a12f8b5aecf

Contents?: true

Size: 344 Bytes

Versions: 4

Compression:

Stored size: 344 Bytes

Contents

class CreateSolidusJwtTokens < ActiveRecord::Migration[5.2]
  def change
    create_table :solidus_jwt_tokens do |t|
      t.string :token, index: true
      t.integer :auth_type, default: 0, null: false
      t.integer :user_id, index: true
      t.boolean :active, default: true, null: false

      t.timestamps null: false
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_jwt-1.1.0 db/migrate/20190222220038_create_solidus_jwt_tokens.rb
solidus_jwt-1.0.0 db/migrate/20190222220038_create_solidus_jwt_tokens.rb
solidus_jwt-1.0.0.beta2 db/migrate/20190222220038_create_solidus_jwt_tokens.rb
solidus_jwt-1.0.0.beta1 db/migrate/20190222220038_create_solidus_jwt_tokens.rb