added details, deathdate, hair color, weight to performers and added details to studios (#1274)

* added details to performers and studios
* added deathdate, hair_color and weight to performers
* Simplify performer/studio create mutations
* Add changelog and recategorised

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
julien0221
2021-04-16 07:06:35 +01:00
committed by GitHub
parent cd6b6b74eb
commit d673c4ce03
62 changed files with 748 additions and 132 deletions

View File

@@ -23,7 +23,7 @@ import (
var DB *sqlx.DB
var WriteMu *sync.Mutex
var dbPath string
var appSchemaVersion uint = 20
var appSchemaVersion uint = 21
var databaseSchemaVersion uint
var (

View File

@@ -0,0 +1,5 @@
ALTER TABLE `performers` ADD COLUMN `details` text;
ALTER TABLE `performers` ADD COLUMN `death_date` date;
ALTER TABLE `performers` ADD COLUMN `hair_color` varchar(255);
ALTER TABLE `performers` ADD COLUMN `weight` integer;
ALTER TABLE `studios` ADD COLUMN `details` text;