mirror of
https://github.com/neocities/neocities.git
synced 2025-07-21 10:06:00 +02:00
fix migrations, acceptance testing for auth, 32 char username limit
This commit is contained in:
parent
fdd4017523
commit
5dfc715148
18 changed files with 247 additions and 125 deletions
|
@ -4,6 +4,6 @@ Sequel.migration do
|
|||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :hits
|
||||
DB.drop_column :sites, :hits
|
||||
}
|
||||
end
|
|
@ -4,6 +4,6 @@ Sequel.migration do
|
|||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :is_admin
|
||||
DB.drop_column :sites, :is_admin
|
||||
}
|
||||
end
|
|
@ -4,6 +4,6 @@ Sequel.migration do
|
|||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :is_banned
|
||||
DB.drop_column :sites, :is_banned
|
||||
}
|
||||
end
|
|
@ -4,6 +4,6 @@ Sequel.migration do
|
|||
}
|
||||
|
||||
down {
|
||||
DB.add_column :sites, :ip
|
||||
DB.drop_column :sites, :ip
|
||||
}
|
||||
end
|
|
@ -6,6 +6,5 @@ Sequel.migration do
|
|||
|
||||
down {
|
||||
DB.drop_column :sites, :password_reset_token
|
||||
DB.drop_index :sites, :password_reset_token
|
||||
}
|
||||
end
|
|
@ -6,6 +6,5 @@ Sequel.migration do
|
|||
|
||||
down {
|
||||
DB.drop_column :sites, :site_changed
|
||||
DB.drop_index :sites, :site_changed
|
||||
}
|
||||
end
|
|
@ -6,6 +6,5 @@ Sequel.migration do
|
|||
|
||||
down {
|
||||
DB.drop_column :sites, :changed_count
|
||||
DB.drop_index :sites, :changed_count
|
||||
}
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue