Skip to content
This repository was archived by the owner on Jan 19, 2022. It is now read-only.

Commit 650633b

Browse files
committed
add token column for users, refs #87
1 parent c72ad3b commit 650633b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
Sequel.migration do
3+
up do
4+
alter_table(:users) do
5+
add_column :token, String, :size => 32, :null => false, :index => true, :unique => true
6+
end
7+
end
8+
9+
down do
10+
alter_table(:users) do
11+
drop_column :token
12+
end
13+
end
14+
end
15+

0 commit comments

Comments
 (0)