Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apokalyptica79@ozymandias ~/kitsune $ ./vendor/src/schematic/schematic migrations/
- Running SQL migration 148:
- INSERT INTO kpi_metrickind (`code`) VALUES ('general aoa:contributors');
- INSERT INTO kpi_metrickind (`code`) VALUES ('general supportforum:contributors');
- INSERT INTO kpi_metrickind (`code`) VALUES ('general kb:en-US:contributors');
- INSERT INTO kpi_metrickind (`code`) VALUES ('general kb:l10n:contributors');
- That took 0.15 seconds
- ##################################################
- Running SQL migration 149:
- DELETE FROM waffle_flag where name='elasticsearch';
- That took 0.08 seconds
- ##################################################
- Running SQL migration 150:
- DELETE FROM kpi_metrickind
- WHERE code='search clickthroughs:sphinx:clicks' OR code='search clickthroughs:sphinx:searches';
- That took 0.06 seconds
- ##################################################
- Running SQL migration 151:
- INSERT IGNORE INTO `django_content_type` (`name`, `app_label`, `model`) VALUES ('redirect','inproduct','redirect') ON DUPLICATE KEY UPDATE `name`='redirect';
- SELECT (@id:=`id`) FROM `django_content_type` WHERE `name` = 'redirect';
- INSERT INTO auth_permission (`name`, `content_type_id`, `codename`) VALUES
- ('Can add inproduct redirects', @id, 'add_redirect'),
- ('Can change inproduct redirects', @id, 'change_redirect'),
- ('Can delete inproduct redirects', @id, 'delete_redirect');
- That took 0.05 seconds
- ##################################################
- Running SQL migration 152:
- CREATE TABLE `products_product` (
- `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
- `title` varchar(255) NOT NULL,
- `description` longtext NOT NULL,
- `display_order` integer NOT NULL,
- `visible` bool NOT NULL,
- `slug` varchar(50) NOT NULL
- ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
- CREATE INDEX `products_product_7be581d8` ON `products_product` (`title`);
- CREATE INDEX `products_product_56ae2a2a` ON `products_product` (`slug`);
- INSERT INTO `django_content_type` (`name`, `app_label`, `model`) VALUES ('product','products','product');
- SELECT (@id:=`id`) FROM `django_content_type` WHERE `name` = 'product';
- INSERT INTO `auth_permission` (`name`, `content_type_id`, `codename`) VALUES ('Can add product',@id,'add_product'),('Can change product',@id,'change_product'),('Can delete product',@id,'delete_product');
- That took 0.49 seconds
- ##################################################
- Running SQL migration 153:
- CREATE TABLE `wiki_document_products` (
- `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
- `document_id` integer NOT NULL,
- `product_id` integer NOT NULL,
- UNIQUE (`document_id`, `product_id`)
- ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
- ;
- ALTER TABLE `wiki_document_products` ADD CONSTRAINT `product_id_refs_id_6da56fea` FOREIGN KEY (`product_id`) REFERENCES `products_product` (`id`);
- ALTER TABLE `wiki_document_products` ADD CONSTRAINT `document_id_refs_id_1680d707` FOREIGN KEY (`document_id`) REFERENCES `wiki_document` (`id`);
- That took 0.58 seconds
- ##################################################
- Running SQL migration 154:
- CREATE TABLE `topics_topic` (
- `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
- `title` varchar(255) NOT NULL,
- `slug` varchar(50) NOT NULL,
- `description` longtext NOT NULL,
- `image` varchar(250),
- `parent_id` integer,
- `display_order` integer NOT NULL,
- `visible` bool NOT NULL
- ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
- ALTER TABLE `topics_topic` ADD CONSTRAINT `parent_id_refs_id_39bb1195` FOREIGN KEY (`parent_id`) REFERENCES `topics_topic` (`id`);
- CREATE INDEX `topics_topic_841a7e28` ON `topics_topic` (`title`);
- CREATE INDEX `topics_topic_a951d5d6` ON `topics_topic` (`slug`);
- CREATE INDEX `topics_topic_63f17a16` ON `topics_topic` (`parent_id`);
- INSERT INTO `django_content_type` (`name`, `app_label`, `model`) VALUES ('topic','topics','topic');
- SELECT (@id:=`id`) FROM `django_content_type` WHERE `name` = 'topic';
- INSERT INTO `auth_permission` (`name`, `content_type_id`, `codename`) VALUES ('Can add topic',@id,'add_topic'),('Can change topic',@id,'change_topic'),('Can delete topic',@id,'delete_topic');
- That took 0.84 seconds
- ##################################################
- Running SQL migration 155:
- -- Add's image field to the product table like topics.
- ALTER TABLE `products_product` ADD `image` varchar(250);
- That took 0.22 seconds
- ##################################################
- Running SQL migration 156:
- -- Add initial products for SUMO
- INSERT INTO products_product (`title`, `description`, `display_order`, `visible`, `slug`) VALUES
- ('Firefox', 'Web browser for Windows, Mac and Linux', 1, TRUE, 'firefox'),
- ('Firefox for mobile', 'Web browser for Android smartphones and tablets', 2, TRUE, 'mobile');
- That took 0.06 seconds
- ##################################################
- Running SQL migration 157:
- CREATE TABLE `wiki_document_topics` (
- `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY,
- `document_id` integer NOT NULL,
- `topic_id` integer NOT NULL,
- UNIQUE (`document_id`, `topic_id`)
- ) ENGINE=InnoDB CHARACTER SET utf8 COLLATE utf8_general_ci;
- ALTER TABLE `wiki_document_topics` ADD CONSTRAINT `topic_id_refs_id_f0454a8c` FOREIGN KEY (`topic_id`) REFERENCES `topics_topic` (`id`);
- ALTER TABLE `wiki_document_topics` ADD CONSTRAINT `document_id_refs_id_1d391341` FOREIGN KEY (`document_id`) REFERENCES `wiki_document` (`id`);
- That took 0.49 seconds
- ##################################################
- Running SQL migration 158:
- -- Delete the esunified waffle flag because we don't need it anymore.
- DELETE FROM waffle_flag where `name`='esunified';
- That took 0.03 seconds
- ##################################################
- Running .py migation 159:
- /usr/bin/python -B manage.py runscript migrations.159-topics-migration
- Error: Had trouble running this: /usr/bin/python -B manage.py runscript migrations.159-topics-migration
- stdout: Error: No module named jinja2
- stderr: None
- returncode: 1
Add Comment
Please, Sign In to add comment