Sha256: f5064e26c5c9d0cd35e80f2c97bc09379adb8299c302d4d2cc62a16dbddb015b

Contents?: true

Size: 370 Bytes

Versions: 5

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

Sequel.migration do
  change do
    create_table :user_login_traits do
      primary_key :id
      foreign_key :user_id, :users
      String :ip_address, null: true
      String :platform, null: true
      String :device, null: true
      String :browser, null: true
      DateTime :created_at
      DateTime :updated_at
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ditty-0.11.1 migrate/20181209_add_user_login_traits.rb
ditty-0.10.2 migrate/20181209_add_user_login_traits.rb
ditty-0.10.1 migrate/20181209_add_user_login_traits.rb
ditty-0.9.1 migrate/20181209_add_user_login_traits.rb
ditty-0.9.0 migrate/20181209_add_user_login_traits.rb