Changed sitename to availableOnSite in Gamma API call, added Evil Angel trans sites. Updated actor revisions migration.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
exports.up = async (knex) => {
|
||||
await knex.raw('CREATE UNIQUE INDEX unique_main_profiles ON actors_profiles (actor_id) WHERE (entity_id IS NULL);');
|
||||
|
||||
await knex.schema.createTable('actors_revisions', (table) => {
|
||||
table.increments('id');
|
||||
|
||||
@@ -47,32 +49,59 @@ exports.up = async (knex) => {
|
||||
|
||||
await knex.schema.alterTable('actors', (table) => {
|
||||
table.integer('boobs_volume');
|
||||
table.enum('boobs_implant', ['saline', 'silicone', 'gummy', 'fat']);
|
||||
table.enum('boobs_placement', ['over', 'under']);
|
||||
table.string('boobs_surgeon');
|
||||
|
||||
table.integer('butt_volume');
|
||||
table.enum('butt_implant', ['bbl', 'lift', 'silicone', 'lipo', 'filler', 'mms']);
|
||||
|
||||
table.integer('lips_volume');
|
||||
|
||||
table.boolean('natural_butt');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('actors_profiles', (table) => {
|
||||
table.integer('boobs_volume');
|
||||
table.enum('boobs_implant', ['saline', 'silicone', 'gummy', 'fat']);
|
||||
table.enum('boobs_placement', ['over', 'under']);
|
||||
table.string('boobs_surgeon');
|
||||
|
||||
table.integer('butt_volume');
|
||||
table.enum('butt_implant', ['bbl', 'lift', 'silicone', 'lipo', 'filler', 'mms']);
|
||||
|
||||
table.integer('lips_volume');
|
||||
table.boolean('natural_butt');
|
||||
});
|
||||
};
|
||||
|
||||
exports.down = async (knex) => {
|
||||
await knex.raw('DROP INDEX unique_main_profiles;');
|
||||
|
||||
await knex.schema.dropTable('actors_revisions');
|
||||
|
||||
await knex.schema.alterTable('actors', (table) => {
|
||||
table.dropColumn('boobs_volume');
|
||||
table.dropColumn('boobs_implant');
|
||||
table.dropColumn('boobs_placement');
|
||||
table.dropColumn('boobs_surgeon');
|
||||
|
||||
table.dropColumn('butt_volume');
|
||||
table.dropColumn('butt_implant');
|
||||
|
||||
table.dropColumn('lips_volume');
|
||||
table.dropColumn('natural_butt');
|
||||
});
|
||||
|
||||
await knex.schema.alterTable('actors_profiles', (table) => {
|
||||
table.dropColumn('boobs_volume');
|
||||
table.dropColumn('boobs_implant');
|
||||
table.dropColumn('boobs_placement');
|
||||
table.dropColumn('boobs_surgeon');
|
||||
|
||||
table.dropColumn('butt_volume');
|
||||
table.dropColumn('butt_implant');
|
||||
|
||||
table.dropColumn('lips_volume');
|
||||
table.dropColumn('natural_butt');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user