Added sequel with example setup
This commit is contained in:
parent
1a3a4287b0
commit
bffbab8fbc
9 changed files with 70 additions and 3 deletions
11
migrate/001_create_users_table.rb
Normal file
11
migrate/001_create_users_table.rb
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
Sequel.migration do
|
||||
change do
|
||||
create_table(:users) do
|
||||
primary_key :id
|
||||
String :name, unique: true, null: false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue