```ruby
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'minitest/autorun'
require 'minitest/hooks'

require 'sequel'

DB = Sequel.sqlite

DB.create_table :widgets do
  primary_key :id

  text :name, null: false
  text :slug, null: false, unique: true
end
```

Use Postgres for testing, because of course.
user
```ruby
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)

require 'minitest/autorun'
require 'minitest/hooks'

require 'sequel'

DB = Sequel.connect("postgres:///sequel-slugging-test")

DB.drop_table? :widgets

DB.create_table :widgets do
  primary_key :id

  text :name, null: false
  text :slug, null: false, unique: true
end
```
assistant