Skip to content

Commit

Permalink
Changes WoStatusChange to a value that doesn't need configuration cha…
Browse files Browse the repository at this point in the history
…nge (#78).
  • Loading branch information
HugoFara committed Dec 28, 2023
1 parent bc0d798 commit da0af44
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backup_restore.php
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@
`WoRomanization` varchar(100) DEFAULT NULL,
`WoSentence` varchar(1000) DEFAULT NULL,
`WoCreated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`WoStatusChanged` timestamp NOT NULL DEFAULT '0000-00-00 00:00:01',
`WoStatusChanged` timestamp NOT NULL DEFAULT '1970-01-01 01:00:01',
`WoTodayScore` double NOT NULL DEFAULT '0',
`WoTomorrowScore` double NOT NULL DEFAULT '0',
`WoRandom` double NOT NULL DEFAULT '0',
Expand Down
4 changes: 3 additions & 1 deletion docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ and `click_faster` were declared two times in `src/js/audio_controller.js`.
* Do not display an error on step 2 of feed wizard at first initialization
([#129](https://github.com/HugoFara/lwt/issues/129)).
* It was impossible to install the demo database if they was more or less than one instruction a line.
This is fixed, and the SQL file was made more readable.
This is fixed, and the SQL file was made more readable.
* Changes `WoStatusChange` default value to '1970-01-01 01:00:01', it was impossible
to install the demo DB out of LWT (related to [#78](https://github.com/HugoFara/lwt/issues/78)).

### Deprecated

Expand Down
2 changes: 2 additions & 0 deletions docs/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -2219,6 +2219,8 @@ <h4>Fixed</h4>
(<a href="https://github.com/HugoFara/lwt/issues/129">#129</a>).</li>
<li>It was impossible to install the demo database if they was more or less than one instruction a line.
This is fixed, and the SQL file was made more readable.</li>
<li>Changes <code>WoStatusChange</code> default value to '1970-01-01 01:00:01', it was impossible
to install the demo DB out of LWT (related to <a href="https://github.com/HugoFara/lwt/issues/78">#78</a>).</li>
</ul>
<h4>Deprecated</h4>
<ul>
Expand Down
2 changes: 1 addition & 1 deletion install_demo_db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ CREATE TABLE `words` (
`WoRomanization` varchar(100) DEFAULT NULL,
`WoSentence` varchar(1000) DEFAULT NULL,
`WoCreated` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`WoStatusChanged` timestamp NOT NULL DEFAULT '0000-00-00 00:00:01',
`WoStatusChanged` timestamp NOT NULL DEFAULT '1970-01-01 01:00:01',
`WoTodayScore` double NOT NULL DEFAULT '0',
`WoTomorrowScore` double NOT NULL DEFAULT '0',
`WoRandom` double NOT NULL DEFAULT '0',
Expand Down

0 comments on commit da0af44

Please sign in to comment.