Update card stats migration to set default values for power, charm, and wit columns to 0
This commit is contained in:
parent
8c5c860ef6
commit
ad17d33660
1 changed files with 3 additions and 3 deletions
|
@ -17,10 +17,10 @@ along with this program. If not, see https://www.gnu.org/licenses/.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
ALTER TABLE card
|
ALTER TABLE card
|
||||||
ADD COLUMN power INTEGER NOT NULL DEFAULT (abs(random() % 9999));
|
ADD COLUMN power INTEGER NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
ALTER TABLE card
|
ALTER TABLE card
|
||||||
ADD COLUMN charm INTEGER NOT NULL DEFAULT (abs(random() % 9999));
|
ADD COLUMN charm INTEGER NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
ALTER TABLE card
|
ALTER TABLE card
|
||||||
ADD COLUMN wit INTEGER NOT NULL DEFAULT (abs(random() % 9999));
|
ADD COLUMN wit INTEGER NOT NULL DEFAULT 0;
|
Loading…
Add table
Reference in a new issue