Page MenuHomePhabricator

Recreate views for globalblocks table
Closed, ResolvedPublic

Description

So that the new gb_by_central_id column is selectable.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

@razzi Can you help with this again? Would you like to try automating via T297026 first?

Yeah I can do this. Unless it's a high priority I'd like to start automating this.

I can't remember where I saw this, but there's this idea that to go from a manual to fully automated process, a good first step is a script that simply prompts the user to do every manual step, then prompts can be replaced by actual functions once the process is well understood. I think I'll try that :)

Resetting inactive task assignee

MariaDB [centralauth_p]> desc globalblocks;
+------------------+------------------+------+-----+---------+-------+
| Field            | Type             | Null | Key | Default | Extra |
+------------------+------------------+------+-----+---------+-------+
| gb_id            | int(11)          | NO   |     | 0       |       |
| gb_address       | varbinary(255)   | NO   |     |         |       |
| gb_by            | varbinary(255)   | NO   |     |         |       |
| gb_by_wiki       | varbinary(255)   | NO   |     |         |       |
| gb_reason        | varbinary(767)   | NO   |     | NULL    |       |
| gb_timestamp     | varbinary(14)    | NO   |     | NULL    |       |
| gb_anon_only     | tinyint(1)       | NO   |     | 0       |       |
| gb_expiry        | varbinary(14)    | NO   |     |         |       |
| gb_range_start   | varbinary(35)    | NO   |     | NULL    |       |
| gb_range_end     | varbinary(35)    | NO   |     | NULL    |       |
| gb_by_central_id | int(10) unsigned | YES  |     | NULL    |       |
+------------------+------------------+------+-----+---------+-------+
11 rows in set (0,002 sec)

MariaDB [centralauth_p]>