Päivityksiä 2020-03-26

Moderators: Petri, harald

User avatar
harald
Hallitus
Posts: 10234
Joined: Thu Sep 19, 2002 14:32 pm
Location: P-helsinki
Vene: Charlotta
Contact:

Re: Päivityksiä 2020-03-26

Post by harald » Wed Apr 15, 2020 10:38 am

Nuo kaikkien kuvien tiedot on yhdessä taulukossa

Code: Select all

+---------------------+----------------+------+-----+---------+----------------+
| Field               | Type           | Null | Key | Default | Extra          |
+---------------------+----------------+------+-----+---------+----------------+
| id                  | int(9)         | NO   | PRI | NULL    | auto_increment |
| album_cover_item_id | int(9)         | YES  |     | NULL    |                |
| captured            | int(9)         | YES  |     | NULL    |                |
| created             | int(9)         | YES  |     | NULL    |                |
| description         | text           | YES  |     | NULL    |                |
| height              | int(9)         | YES  |     | NULL    |                |
| left_ptr            | int(9)         | NO   | MUL | NULL    |                |
| level               | int(9)         | NO   |     | NULL    |                |
| mime_type           | varchar(64)    | YES  |     | NULL    |                |
| name                | varchar(255)   | YES  |     | NULL    |                |
| owner_id            | int(9)         | YES  |     | NULL    |                |
| parent_id           | int(9)         | NO   | MUL | NULL    |                |
| rand_key            | decimal(11,10) | YES  | MUL | NULL    |                |
| relative_path_cache | varchar(255)   | YES  | MUL | NULL    |                |
| relative_url_cache  | varchar(255)   | YES  |     | NULL    |                |
| resize_dirty        | tinyint(1)     | YES  |     | 1       |                |
| resize_height       | int(9)         | YES  |     | NULL    |                |
| resize_width        | int(9)         | YES  |     | NULL    |                |
| right_ptr           | int(9)         | NO   |     | NULL    |                |
| slug                | varchar(255)   | YES  |     | NULL    |                |
| sort_column         | varchar(64)    | YES  |     | NULL    |                |
| sort_order          | char(4)        | YES  |     | ASC     |                |
| thumb_dirty         | tinyint(1)     | YES  |     | 1       |                |
| thumb_height        | int(9)         | YES  |     | NULL    |                |
| thumb_width         | int(9)         | YES  |     | NULL    |                |
| title               | varchar(255)   | YES  |     | NULL    |                |
| type                | varchar(32)    | NO   | MUL | NULL    |                |
| updated             | int(9)         | YES  |     | NULL    |                |
| view_count          | int(9)         | YES  |     | 0       |                |
| weight              | int(9)         | NO   | MUL | 0       |                |
| width               | int(9)         | YES  |     | NULL    |                |
| view_1              | binary(1)      | YES  |     | 0       |                |
| view_2              | binary(1)      | YES  |     | 0       |                |
| view_3              | binary(1)      | YES  |     | 0       |                |
| view_4              | binary(1)      | YES  |     | 0       |                |
+---------------------+----------------+------+-----+---------+----------------+
Ja kommentit on omassa taulukossaan. Tässä on ilmeisesti joku pivot-taulu vielä

Code: Select all

+-----------------------------+--------------+------+-----+-------------+----------------+
| Field                       | Type         | Null | Key | Default     | Extra          |
+-----------------------------+--------------+------+-----+-------------+----------------+
| author_id                   | int(9)       | YES  |     | NULL        |                |
| created                     | int(9)       | NO   |     | NULL        |                |
| guest_email                 | varchar(128) | YES  |     | NULL        |                |
| guest_name                  | varchar(128) | YES  |     | NULL        |                |
| guest_url                   | varchar(255) | YES  |     | NULL        |                |
| id                          | int(9)       | NO   | PRI | NULL        | auto_increment |
| item_id                     | int(9)       | NO   |     | NULL        |                |
| server_http_accept_charset  | varchar(64)  | YES  |     | NULL        |                |
| server_http_accept_encoding | varchar(64)  | YES  |     | NULL        |                |
| server_http_accept_language | varchar(64)  | YES  |     | NULL        |                |
| server_http_accept          | varchar(128) | YES  |     | NULL        |                |
| server_http_connection      | varchar(64)  | YES  |     | NULL        |                |
| server_http_host            | varchar(64)  | YES  |     | NULL        |                |
| server_http_referer         | varchar(255) | YES  |     | NULL        |                |
| server_http_user_agent      | varchar(128) | YES  |     | NULL        |                |
| server_query_string         | varchar(64)  | YES  |     | NULL        |                |
| server_remote_addr          | varchar(40)  | YES  |     | NULL        |                |
| server_remote_host          | varchar(255) | YES  |     | NULL        |                |
| server_remote_port          | varchar(16)  | YES  |     | NULL        |                |
| state                       | varchar(15)  | YES  |     | unpublished |                |
| text                        | text         | YES  |     | NULL        |                |
| updated                     | int(9)       | NO   |     | NULL        |                |
+-----------------------------+--------------+------+-----+-------------+----------------+
FIN-2674 s/y Charlotta [Mielipiteet on mielipiteitä] GSM: +358 50 594 1020

User avatar
harald
Hallitus
Posts: 10234
Joined: Thu Sep 19, 2002 14:32 pm
Location: P-helsinki
Vene: Charlotta
Contact:

Re: Päivityksiä 2020-03-26

Post by harald » Mon Nov 16, 2020 13:15 pm

harald wrote:
Fri Mar 27, 2020 00:19 am
etusivun hallinta on rikki, eikä uutiset näy.
Etusivun hallinta nyt korjattu, olipas paljon muutoksia Mysql-kirjaston käytössä.
FIN-2674 s/y Charlotta [Mielipiteet on mielipiteitä] GSM: +358 50 594 1020

User avatar
harald
Hallitus
Posts: 10234
Joined: Thu Sep 19, 2002 14:32 pm
Location: P-helsinki
Vene: Charlotta
Contact:

Re: Päivityksiä 2020-03-26

Post by harald » Mon Nov 16, 2020 20:28 pm

Jäsenrekisterin syöttösivu oli sekin rikki päivitysten jälkeen, korjattu.

Paitsi että lokitus meni rikki, korjaan sen myöhemmin. edit: korjattu. Tietokannan date-kolumni oli varchar(16) joka on liian pieni.
FIN-2674 s/y Charlotta [Mielipiteet on mielipiteitä] GSM: +358 50 594 1020

Post Reply