Skip to content

Instantly share code, notes, and snippets.

@charlower
Created November 22, 2023 06:28
Show Gist options
  • Save charlower/0296ec6cf3fe6b4323a495ebe86ba265 to your computer and use it in GitHub Desktop.
Save charlower/0296ec6cf3fe6b4323a495ebe86ba265 to your computer and use it in GitHub Desktop.
charlie@Charlies-MacBook-Pro-2 merchi.co % ./helpi alembic_upgrade
./helpi: line 396: export: `+': not a valid identifier
./helpi: line 396: export: `+': not a valid identifier
./helpi: line 396: export: `/default_themes/gracecrm/default.css': not a valid identifier
WARN[0000] The "ARCHITECTURE" variable is not set. Defaulting to a blank string.
WARN[0000] The "ARCHITECTURE" variable is not set. Defaulting to a blank string.
WARN[0000] The "ARCHITECTURE" variable is not set. Defaulting to a blank string.
WARN[0000] The "ARCHITECTURE" variable is not set. Defaulting to a blank string.
WARN[0000] The "ARCHITECTURE" variable is not set. Defaulting to a blank string.
WARN[0000] Found orphan containers ([merchi-dev_proxy-1 merchi-frontend-1 merchi-websockets-1 merchi-backend-1 merchi-celery_beat-1 merchi-webpack-1]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
[+] Creating 4/0
✔ Container merchi-redis-1 Running 0.0s
✔ Container merchi-rabbitmq-1 Running 0.0s
✔ Container merchi-db-1 Running 0.0s
✔ Container merchi-celery_worker-1 Running 0.0s
[+] Running 2/2
✔ Container merchi-db-1 Healthy 0.5s
✔ Container merchi-rabbitmq-1 Healthy 0.5s
INFO [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO [alembic.runtime.migration] Will assume transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> 4f08d75a7b64, init
INFO [alembic.runtime.migration] Running upgrade 4f08d75a7b64 -> 1c0947de86f0, file have upload id
INFO [alembic.runtime.migration] Running upgrade 1c0947de86f0 -> 162b706008f, domain logo is a file
INFO [alembic.runtime.migration] Running upgrade 162b706008f -> 3025fa0a283b, add reciever for notification
INFO [alembic.runtime.migration] Running upgrade 3025fa0a283b -> 4cac0b32b2d, add domain for notification
INFO [alembic.runtime.migration] Running upgrade 4cac0b32b2d -> 58485e1e4ecb, Added job relationship for notification
INFO [alembic.runtime.migration] Running upgrade 58485e1e4ecb -> 48deae08d8e4, notifications store their source or type
INFO [alembic.runtime.migration] Running upgrade 48deae08d8e4 -> 3ded1cd257e5, compose email shell
INFO [alembic.runtime.migration] Running upgrade 3ded1cd257e5 -> 23fadbb14609, job client company relation
INFO [alembic.runtime.migration] Running upgrade 23fadbb14609 -> 2b735aac6b3e, file record uploader
INFO [alembic.runtime.migration] Running upgrade 2b735aac6b3e -> 363d7d8e7c47, product normal delivery date become required
INFO [alembic.runtime.migration] Running upgrade 2b735aac6b3e -> 338b06ea9e0a, resend date for draft
INFO [alembic.runtime.migration] Running upgrade 338b06ea9e0a, 363d7d8e7c47 -> 15f735a53e37, empty message
INFO [alembic.runtime.migration] Running upgrade 15f735a53e37 -> 23596b6375dd, add payment send_sms and send_email
INFO [alembic.runtime.migration] Running upgrade 15f735a53e37 -> 1d8d1727b275, domain has sms name
INFO [alembic.runtime.migration] Running upgrade 1d8d1727b275, 23596b6375dd -> 4da69d75c493, empty message
INFO [alembic.runtime.migration] Running upgrade 4da69d75c493 -> 52cc03539d8, notifications store html
INFO [alembic.runtime.migration] Running upgrade 1d8d1727b275, 23596b6375dd -> 376be75864a6, empty message
INFO [alembic.runtime.migration] Running upgrade 376be75864a6 -> 402d8ca983c5, reset token does not have to be unique
INFO [alembic.runtime.migration] Running upgrade 1d8d1727b275 -> 7bf4459b75f, add bank model
INFO [alembic.runtime.migration] Running upgrade 7bf4459b75f, 402d8ca983c5, 52cc03539d8 -> 4c80aa74b4e6, store payment account credentials on domain
INFO [alembic.runtime.migration] Running upgrade 4c80aa74b4e6 -> 3757fc3ccbef, job finished -> completed
INFO [alembic.runtime.migration] Running upgrade 3757fc3ccbef -> 51ea4447fe6d, fix typo aggreed
INFO [alembic.runtime.migration] Running upgrade 3757fc3ccbef -> ad3c3c7638f, store timezone properly
INFO [alembic.runtime.migration] Running upgrade ad3c3c7638f, 51ea4447fe6d -> 4e5614862363, empty message
INFO [alembic.runtime.migration] Running upgrade 4e5614862363 -> 34f08d92ec86, disable new job notification per domain
INFO [alembic.runtime.migration] Running upgrade 34f08d92ec86 -> 23ebebb6bc81, invoice have uppaid and overdue tag
INFO [alembic.runtime.migration] Running upgrade 4e5614862363 -> ecdc0d5c5d8, added additional sms_token_columns
INFO [alembic.runtime.migration] Running upgrade ecdc0d5c5d8, 23ebebb6bc81 -> 563ef6284c94, empty message
INFO [alembic.runtime.migration] Running upgrade 563ef6284c94 -> 3d42a0330a35, new job notiication toggle is not nullable
INFO [alembic.runtime.migration] Running upgrade 3d42a0330a35 -> 62125779d102, new columns to cache s3 links
INFO [alembic.runtime.migration] Running upgrade 62125779d102 -> 31ec0c40b6a7, shipment has send sms and send email
INFO [alembic.runtime.migration] Running upgrade 31ec0c40b6a7 -> e3d0cbfa18bd, companies can have multiple banks, only some of which may be shown by default
INFO [alembic.runtime.migration] Running upgrade 62125779d102 -> f8c206ca54bf, Added product section select option
INFO [alembic.runtime.migration] Running upgrade 31ec0c40b6a7, f8c206ca54bf -> 7bad91d5b549, merge f8c206ca54bf 31ec0c40b6a7
INFO [alembic.runtime.migration] Running upgrade 7bad91d5b549 -> 0524c71c5cab, added sms and email bools to draft models
INFO [alembic.runtime.migration] Running upgrade 0524c71c5cab -> b57ff3ea910a, draft send notificaiton have labels indicate its draft and its type
INFO [alembic.runtime.migration] Running upgrade b57ff3ea910a, e3d0cbfa18bd -> 587c9ea1bf8a, add notes field to product
INFO [alembic.runtime.migration] Running upgrade 587c9ea1bf8a -> d5e8f87d49fa, add related invoice relationship to notification
INFO [alembic.runtime.migration] Running upgrade 587c9ea1bf8a -> 45e7c1de7e81, use bigint for files.size
INFO [alembic.runtime.migration] Running upgrade 45e7c1de7e81, d5e8f87d49fa -> 2d71b0deb7f9, add related_assignment attribute to notification
INFO [alembic.runtime.migration] Running upgrade 2d71b0deb7f9 -> f80ec2ffabd8, store websocket subscriptions in db
INFO [alembic.runtime.migration] Running upgrade 2d71b0deb7f9 -> db7905f24eb5, short url for sms
INFO [alembic.runtime.migration] Running upgrade 2d71b0deb7f9 -> 2f7b597b73f6, Added boolean for category to show in dashboard or public and add description to produc
INFO [alembic.runtime.migration] Running upgrade 2f7b597b73f6, db7905f24eb5, f80ec2ffabd8 -> 5c0b74852c02, specification field for product
INFO [alembic.runtime.migration] Running upgrade 2f7b597b73f6, f80ec2ffabd8 -> 5c9c42f39519, domains and invoices store their currency
INFO [alembic.runtime.migration] Running upgrade 5c9c42f39519, db7905f24eb5 -> 5a16bfe3edc8, add payment_recorder attribute for payment
INFO [alembic.runtime.migration] Running upgrade 5a16bfe3edc8, 5c0b74852c02 -> f3dd3fa3c6c3, Added new show_public allow_email_notifications allow sms_notifications and subdomain columns to domain
INFO [alembic.runtime.migration] Running upgrade f3dd3fa3c6c3 -> ef34edd138e1, move stripe and paypal details to company
INFO [alembic.runtime.migration] Running upgrade ef34edd138e1 -> 219827a63f0d, company accept_paypal accept_stripe accept_bank_transfer accept_phone_payment
INFO [alembic.runtime.migration] Running upgrade f3dd3fa3c6c3 -> 618bd8c7cb39, product public visible
INFO [alembic.runtime.migration] Running upgrade ef34edd138e1 -> 31cc6e463fab, Added enrolled domain for users removed user domains attribute
INFO [alembic.runtime.migration] Running upgrade 618bd8c7cb39, 219827a63f0d -> ea312039e6d3, move default_currency from domain to the domains company
INFO [alembic.runtime.migration] Running upgrade 5c0b74852c02, 5c9c42f39519 -> ab4da828669e, invoice have specific link to company
INFO [alembic.runtime.migration] Running upgrade 618bd8c7cb39, 219827a63f0d, ab4da828669e -> a2e9c37aa237, store information about which companeis members are company admins
INFO [alembic.runtime.migration] Running upgrade ea312039e6d3, 31cc6e463fab, ab4da828669e -> 797a0ebf833b, new table for storing sales taxes per country
INFO [alembic.runtime.migration] Running upgrade 31cc6e463fab, ab4da828669e, ea312039e6d3 -> cf9b64bc5414, draft commnet can also link to job
INFO [alembic.runtime.migration] Running upgrade 219827a63f0d, 618bd8c7cb39, ab4da828669e -> 9d2d3744e0a3, add specifications and sepcifications groups
INFO [alembic.runtime.migration] Running upgrade 797a0ebf833b, a2e9c37aa237, cf9b64bc5414 -> 98ada0fa5df7, add enable_automatically cost and cost_per_unit_attribute
INFO [alembic.runtime.migration] Running upgrade 9d2d3744e0a3, 98ada0fa5df7 -> a1043208220c, rename gst collumns to tax_amount collumsn to reflect broading to support more tax types
INFO [alembic.runtime.migration] Running upgrade cf9b64bc5414, a2e9c37aa237, 797a0ebf833b -> 62e75dfa837c, add new table to store invitations to join a company
INFO [alembic.runtime.migration] Running upgrade 9d2d3744e0a3, 98ada0fa5df7 -> ea6612aa3156, enable_email_notification to enable_email_notifications
INFO [alembic.runtime.migration] Running upgrade a1043208220c, 62e75dfa837c, ea6612aa3156 -> 3a17ad0b1810, change domain.enable_new_job_notification to domain.enable_job_notification
INFO [alembic.runtime.migration] Running upgrade 3a17ad0b1810 -> 41a58d9c65a8, add specification requirement extra cost column and whether count on units column
INFO [alembic.runtime.migration] Running upgrade ea6612aa3156, a1043208220c, 62e75dfa837c -> ceea3c6ab329, store the type of tax on an item and job, not just whether or not a tax exists
INFO [alembic.runtime.migration] Running upgrade ceea3c6ab329, 41a58d9c65a8 -> a754d48d0e6a, leaky bucket counters for eemail rate limiting
INFO [alembic.runtime.migration] Running upgrade ceea3c6ab329, 41a58d9c65a8 -> f4aef661a141, generalise abn to arbitrary tax number
INFO [alembic.runtime.migration] Running upgrade 41a58d9c65a8, ceea3c6ab329 -> d209c494e2a2, menu_and_menu_items_for_domain
INFO [alembic.runtime.migration] Running upgrade ceea3c6ab329, 41a58d9c65a8 -> 8f23ee0217c6, companies store a default tax type to be applied by invoices issued by that company
INFO [alembic.runtime.migration] Running upgrade f4aef661a141, 8f23ee0217c6, d209c494e2a2, a754d48d0e6a -> 45f9d8b7bb4c, company stores the type of tax number that it holds
INFO [alembic.runtime.migration] Running upgrade 45f9d8b7bb4c -> fa10b5dcf20d, invoice payment options
INFO [alembic.runtime.migration] Running upgrade fa10b5dcf20d -> 81ba7777b963, add specification cost and group cost to specification group
INFO [alembic.runtime.migration] Running upgrade 81ba7777b963 -> 8f8ca13cdf6a, sub_domain is unique and domains have secret key
INFO [alembic.runtime.migration] Running upgrade f4aef661a141, 8f23ee0217c6, d209c494e2a2, a754d48d0e6a -> 434b9a8e1dac, websocket subscriptions stores the HTTP method which should be used when simulating requests
INFO [alembic.runtime.migration] Running upgrade 81ba7777b963 -> eef44b9c053b, product_payment_options_and_payment_upfront_allow_quotation
INFO [alembic.runtime.migration] Running upgrade eef44b9c053b, 8f8ca13cdf6a, 434b9a8e1dac -> 522536023098, user model stores whether or not user would like to receive crash report notifications
INFO [alembic.runtime.migration] Running upgrade 434b9a8e1dac, eef44b9c053b -> 76f153445b53, payment_phone_numbers_added_to_company
INFO [alembic.runtime.migration] Running upgrade 522536023098, 76f153445b53 -> 411eff0c1660, conversion tracking code added to domain
INFO [alembic.runtime.migration] Running upgrade eef44b9c053b, 8f8ca13cdf6a, 434b9a8e1dac -> d2617cdd272d, add column for users preferred language
INFO [alembic.runtime.migration] Running upgrade 76f153445b53, 8f8ca13cdf6a -> b40750a7ef8e, is_paypal_valid and is_stirpe_valid added to company model
INFO [alembic.runtime.migration] Running upgrade b40750a7ef8e, d2617cdd272d, 522536023098 -> e15db176ec6e, users store whether or not they should receive client email forwards
INFO [alembic.runtime.migration] Running upgrade e15db176ec6e -> 0a718b06ab78, specification field can exist without link to product
INFO [alembic.runtime.migration] Running upgrade 0a718b06ab78 -> 07c27032e658, change invoice attribute creator->responsible_manager, old creator remains but have different meaning
INFO [alembic.runtime.migration] Running upgrade 07c27032e658, 411eff0c1660 -> b6a00630fb5a, add themes to domains add files to themes
INFO [alembic.runtime.migration] Running upgrade b6a00630fb5a -> e941b577d177, add temporary created attribute to company
INFO [alembic.runtime.migration] Running upgrade e941b577d177 -> 0bc27d46e426, logo_added_to_company
INFO [alembic.runtime.migration] Running upgrade 0bc27d46e426 -> 5b8ebab83511, add is_master attribute to domain model
INFO [alembic.runtime.migration] Running upgrade 0bc27d46e426 -> 0a4f87d9bb9d, sessions have relationships with domains
INFO [alembic.runtime.migration] Running upgrade b6a00630fb5a -> bb1d41295f4f, Add super user attribute to users model
INFO [alembic.runtime.migration] Running upgrade bb1d41295f4f, 0a4f87d9bb9d -> 7ac6d16aab53, remove old_crm_key columns
INFO [alembic.runtime.migration] Running upgrade 5b8ebab83511, 7ac6d16aab53 -> 8343632da60d, unit_weight_added_to_product
INFO [alembic.runtime.migration] Running upgrade 8343632da60d -> fa8d0068ec79, empty message
INFO [alembic.runtime.migration] Running upgrade 8343632da60d -> bf8061200d9c, height_width_depth_added_to_product
INFO [alembic.runtime.migration] Running upgrade 5b8ebab83511, 7ac6d16aab53 -> 4e8794767dea, paid_invoice_pdf_added_to_invoice
INFO [alembic.runtime.migration] Running upgrade 8343632da60d -> 1a830fcb54cd, shipment_attribute_update_for_sent_date_track_num_notes_and_shipping_address
INFO [alembic.runtime.migration] Running upgrade 1a830fcb54cd -> 413a39c37dce, shipment_add_sender_invoice_cost_attributes
INFO [alembic.runtime.migration] Running upgrade 413a39c37dce, 4e8794767dea, bf8061200d9c, fa8d0068ec79 -> f437c9474d2b, store time of archival
INFO [alembic.runtime.migration] Running upgrade f437c9474d2b -> 3648d845ad85, shipment_transport_company_sender_responsible
INFO [alembic.runtime.migration] Running upgrade 3648d845ad85 -> bae30e83caaf, add foreign key for domain.active_theme_id
INFO [alembic.runtime.migration] Running upgrade bae30e83caaf -> 3ebc8addfbd9, api_secret is stored as binary
INFO [alembic.runtime.migration] Running upgrade 3ebc8addfbd9 -> a0fafaf72dd7, password hash stored directly in binary, not base64 encoded
INFO [alembic.runtime.migration] Running upgrade a0fafaf72dd7 -> 1b4b14499e9f, add column to store index public page template on theme
INFO [alembic.runtime.migration] Running upgrade 1b4b14499e9f -> 0a1be3d5ba51, backups should not be archivable
INFO [alembic.runtime.migration] Running upgrade 0a1be3d5ba51 -> 7aef7cfd9cfc, store jsx components
INFO [alembic.runtime.migration] Running upgrade 0a1be3d5ba51 -> 7e6e912d51ad, store index page template erros tatus
INFO [alembic.runtime.migration] Running upgrade 7e6e912d51ad, 7aef7cfd9cfc -> 1d17a7601437, index on notifications.job_id
INFO [alembic.runtime.migration] Running upgrade 1d17a7601437 -> e99f303e8cf3, add surrogate key to components
INFO [alembic.runtime.migration] Running upgrade e99f303e8cf3 -> 6d2f94be9662, add indices
INFO [alembic.runtime.migration] Running upgrade e99f303e8cf3 -> 6942c85f423d, components have a user settable description
INFO [alembic.runtime.migration] Running upgrade 1d17a7601437 -> d75a5928fcce, add domain invitation model
INFO [alembic.runtime.migration] Running upgrade e99f303e8cf3 -> 6cfacd44d574, cache index page content
INFO [alembic.runtime.migration] Running upgrade 6942c85f423d, 6d2f94be9662, d75a5928fcce, 6cfacd44d574 -> baf4713d5109, themes have editable headers and footers shown on public pages
INFO [alembic.runtime.migration] Running upgrade 3648d845ad85 -> 37819c5b2647, add columns to track invoice reminders
INFO [alembic.runtime.migration] Running upgrade baf4713d5109 -> 0d72b65dfdcd, users.client_token stored as binary
INFO [alembic.runtime.migration] Running upgrade 6942c85f423d, 6d2f94be9662, d75a5928fcce -> dd264df995dd, components have tags
INFO [alembic.runtime.migration] Running upgrade dd264df995dd, 0d72b65dfdcd, 37819c5b2647 -> f387cf783717, add placeholder to specification field
INFO [alembic.runtime.migration] Running upgrade f387cf783717 -> 7d88180c6892, DomainInvitiations.archived is indexed
INFO [alembic.runtime.migration] Running upgrade 7d88180c6892 -> dbb9f27ff249, add position field to specification field and specification optioins
INFO [alembic.runtime.migration] Running upgrade dd264df995dd, 0d72b65dfdcd, 37819c5b2647 -> c5d695043eea, not using apply per unit, using specification unit cost
INFO [alembic.runtime.migration] Running upgrade f387cf783717 -> 3d249094f78b, users.reset_token stored as bytestring, not encoded char
INFO [alembic.runtime.migration] Running upgrade dd264df995dd, 37819c5b2647, baf4713d5109 -> 10e651adc3af, rm user role from user model
INFO [alembic.runtime.migration] Running upgrade 10e651adc3af, 3d249094f78b, c5d695043eea, 7d88180c6892 -> e796c0b7a19e, company_invitation.token stored as binary
INFO [alembic.runtime.migration] Running upgrade e796c0b7a19e -> 744637e1c984, session token stored as byte string
INFO [alembic.runtime.migration] Running upgrade 7d88180c6892 -> 1dfc4d794745, add default options and default value to specification fields
INFO [alembic.runtime.migration] Running upgrade 1dfc4d794745, 744637e1c984, dbb9f27ff249 -> 0f41769fd43b, add fields for file type specification field
INFO [alembic.runtime.migration] Running upgrade dbb9f27ff249 -> 93474ba25af1, public domaon invoices page is templated
INFO [alembic.runtime.migration] Running upgrade 744637e1c984 -> dc5a93600243, store invoice_token as straight bytes
INFO [alembic.runtime.migration] Running upgrade 0f41769fd43b, dc5a93600243, 93474ba25af1 -> 90e75091e273, store template for public domains products page
INFO [alembic.runtime.migration] Running upgrade 0f41769fd43b, 93474ba25af1, dc5a93600243 -> 1308aeb46820, remove allow_file_svg from specification fields
INFO [alembic.runtime.migration] Running upgrade 1308aeb46820 -> 9cc3cadd0d34, specification field option has a link to files
INFO [alembic.runtime.migration] Running upgrade dc5a93600243 -> 17efb6928e51, store client sms tken as raw bytes
INFO [alembic.runtime.migration] Running upgrade 17efb6928e51 -> f87f26ab6798, users.sms_token is stored as a straigth byte string instead of text encoded
INFO [alembic.runtime.migration] Running upgrade f87f26ab6798, 9cc3cadd0d34, 90e75091e273 -> 0a2b99e9afb3, select option has colour attribute
INFO [alembic.runtime.migration] Running upgrade 6942c85f423d, 6d2f94be9662, d75a5928fcce -> a3238d3ad023, currency fields only have their required scale
INFO [alembic.runtime.migration] Running upgrade 0a2b99e9afb3 -> 39ba8bdd5beb, empty message
INFO [alembic.runtime.migration] Running upgrade 0a2b99e9afb3 -> 41c779004a3a, theme stores templates for all public pages
INFO [alembic.runtime.migration] Running upgrade 41c779004a3a, 39ba8bdd5beb, a3238d3ad023 -> 9e912baaedc0, shipment transport company needs to be nullable
INFO [alembic.runtime.migration] Running upgrade 9e912baaedc0 -> a3a702c48d07, file size is not nullable
INFO [alembic.runtime.migration] Running upgrade a3a702c48d07 -> ab454d5187da, enrolled domain should not have nullable relationship
INFO [alembic.runtime.migration] Running upgrade ab454d5187da -> ff158cb1eb9a, add index to jobs.completed
INFO [alembic.runtime.migration] Running upgrade ff158cb1eb9a -> 62951abc6112, empty message
INFO [alembic.runtime.migration] Running upgrade ff158cb1eb9a -> 12617095e2a0, empty message
INFO [alembic.runtime.migration] Running upgrade 12617095e2a0, 62951abc6112 -> 072b8faf327e, empty message
INFO [alembic.runtime.migration] Running upgrade 072b8faf327e -> 3fc402cf52e7, empty message
INFO [alembic.runtime.migration] Running upgrade 3fc402cf52e7 -> fbce639fc657, Add system roles model
INFO [alembic.runtime.migration] Running upgrade fbce639fc657 -> cb0678ef1ece, move template cache to domain table
INFO [alembic.runtime.migration] Running upgrade cb0678ef1ece -> 02de456cc585, cache template scripts
INFO [alembic.runtime.migration] Running upgrade 02de456cc585 -> 96a50b47c2f7, added_template_job_quote_request_template
INFO [alembic.runtime.migration] Running upgrade 96a50b47c2f7 -> 0e2ec7f3c5eb, domains must have a theme
INFO [alembic.runtime.migration] Running upgrade 0e2ec7f3c5eb -> b32f8ec02a46, components keep compiled version
INFO [alembic.runtime.migration] Running upgrade b32f8ec02a46 -> e00198389944, index on product_files.product_id
INFO [alembic.runtime.migration] Running upgrade e00198389944 -> 516cb15a1b8a, higher peak email limit
INFO [alembic.runtime.migration] Running upgrade 516cb15a1b8a -> 0fc4bfa7abe8, fix constraints
INFO [alembic.runtime.migration] Running upgrade 0fc4bfa7abe8 -> 8b3b6798a562, store tags on domains
INFO [alembic.runtime.migration] Running upgrade 8b3b6798a562 -> 377c416549d3, no product_unit_amount
INFO [alembic.runtime.migration] Running upgrade 8b3b6798a562 -> 7013ba25fdaa, support new google tracking code
INFO [alembic.runtime.migration] Running upgrade 377c416549d3, 7013ba25fdaa -> 6c32ce82a523, store inventory
INFO [alembic.runtime.migration] Running upgrade 7013ba25fdaa, 377c416549d3 -> 0ad9b56aef8d, Jobs has foreign keys point to contact information
INFO [alembic.runtime.migration] Running upgrade 0ad9b56aef8d -> 72c300d7e636, tags have a description
INFO [alembic.runtime.migration] Running upgrade 7013ba25fdaa, 377c416549d3 -> d781baa0bab8, Added saved products to user and company
INFO [alembic.runtime.migration] Running upgrade d781baa0bab8, 6c32ce82a523, 72c300d7e636 -> 06b241ba5623, products have tags
INFO [alembic.runtime.migration] Running upgrade 06b241ba5623 -> d1064612de14, invoices have tags
INFO [alembic.runtime.migration] Running upgrade d1064612de14 -> 7215ce74e5c3, shipments can be tagged
INFO [alembic.runtime.migration] Running upgrade d781baa0bab8, 72c300d7e636, 6c32ce82a523 -> a8185d8ef55d, Added supplied domains model
INFO [alembic.runtime.migration] Running upgrade 7215ce74e5c3 -> 585e4dcf528a, users.name is not nullable
INFO [alembic.runtime.migration] Running upgrade 7215ce74e5c3 -> d947c9fbcc7d, banks have account names
INFO [alembic.runtime.migration] Running upgrade a8185d8ef55d, d947c9fbcc7d, 585e4dcf528a -> 68d5346e4200, inventory does not need an address
INFO [alembic.runtime.migration] Running upgrade 68d5346e4200 -> 42c7e53f4057, inventory unit specifications has an artifical id
INFO [alembic.runtime.migration] Running upgrade 42c7e53f4057 -> ffcc364e8ca8, add supply job to assignment
INFO [alembic.runtime.migration] Running upgrade d947c9fbcc7d, a8185d8ef55d, 585e4dcf528a -> e926c300cbc5, add job_info_approved_by_client
INFO [alembic.runtime.migration] Running upgrade e926c300cbc5, ffcc364e8ca8 -> c82dc7ba7baf, add quote set field on job
INFO [alembic.runtime.migration] Running upgrade c82dc7ba7baf -> 015561fbec0e, domains have a favicon
INFO [alembic.runtime.migration] Running upgrade c82dc7ba7baf -> ec09989e9518, job stores deducted inventory
INFO [alembic.runtime.migration] Running upgrade ec09989e9518 -> 80e0db8827b7, fix qoute
INFO [alembic.runtime.migration] Running upgrade 80e0db8827b7 -> 9db790c6bdaa, rename specifications
INFO [alembic.runtime.migration] Running upgrade 9db790c6bdaa, 015561fbec0e -> 4a750b4747a5, store the date that a job was deduted from an inventory
INFO [alembic.runtime.migration] Running upgrade 4a750b4747a5 -> 5a4f6fb38417, index on urgency
INFO [alembic.runtime.migration] Running upgrade 5a4f6fb38417 -> 9a904e57647f, company has country
INFO [alembic.runtime.migration] Running upgrade 4a750b4747a5 -> 4cf696a72461, selected options store as relationships
INFO [alembic.runtime.migration] Running upgrade 9a904e57647f -> e4b135d3521b, domains have type
INFO [alembic.runtime.migration] Running upgrade 9a904e57647f -> ea18a01f391b, product files are images
INFO [alembic.runtime.migration] Running upgrade ea18a01f391b -> 8d1dc398b905, products have types
INFO [alembic.runtime.migration] Running upgrade 8d1dc398b905 -> 056a1db7eb01, products have feature images
INFO [alembic.runtime.migration] Running upgrade 056a1db7eb01, e4b135d3521b -> d32cbf1d6baa, select a feature image
INFO [alembic.runtime.migration] Running upgrade d32cbf1d6baa -> 442308f095f7, store facebook user id
INFO [alembic.runtime.migration] Running upgrade 442308f095f7, 4cf696a72461 -> 9b1f3047f369, facebook_user_id must only be used once in the system
INFO [alembic.runtime.migration] Running upgrade 9b1f3047f369 -> 8d4a19c2eed3, components may have images
INFO [alembic.runtime.migration] Running upgrade 8d4a19c2eed3 -> 20d789fdff05, themes have files
INFO [alembic.runtime.migration] Running upgrade 20d789fdff05 -> ded6ee17ed48, components may have feature images
INFO [alembic.runtime.migration] Running upgrade 9b1f3047f369 -> 2d185f602c6d, add cart entity
INFO [alembic.runtime.migration] Running upgrade 2d185f602c6d, 20d789fdff05 -> 40cab13283d2, add cart item
INFO [alembic.runtime.migration] Running upgrade 40cab13283d2, ded6ee17ed48 -> 90f107325b62, add cost tax_amount to cart and cart items
INFO [alembic.runtime.migration] Running upgrade 90f107325b62 -> f41cb3b48895, added_cart_token_and_id_to_cart
INFO [alembic.runtime.migration] Running upgrade 90f107325b62 -> 3a6aa13a8f7f, remove subtotal and tax_amount from carts as calculate in time
INFO [alembic.runtime.migration] Running upgrade 90f107325b62 -> edb1a896724a, add receiver address and receiver notes
INFO [alembic.runtime.migration] Running upgrade edb1a896724a, 3a6aa13a8f7f -> 2f391a410dc0, unlink cart to shipment
INFO [alembic.runtime.migration] Running upgrade 2f391a410dc0, f41cb3b48895 -> 98d64158ceda, add shipment methods
INFO [alembic.runtime.migration] Running upgrade 98d64158ceda -> d0696e51e43b, rename original_address to origin_address
INFO [alembic.runtime.migration] Running upgrade d0696e51e43b -> a0599eb949c2, add tax type to shipment_method_variation
INFO [alembic.runtime.migration] Running upgrade a0599eb949c2 -> f0a000817179, Add measurement to shipments
INFO [alembic.runtime.migration] Running upgrade f41cb3b48895 -> 3526fda2c5ac, jobs clone product
INFO [alembic.runtime.migration] Running upgrade 3526fda2c5ac, f0a000817179 -> 575dd09cf4cb, shipment cost should not be nullable
INFO [alembic.runtime.migration] Running upgrade 575dd09cf4cb -> becbc71f7e65, add origin address to product
INFO [alembic.runtime.migration] Running upgrade becbc71f7e65 -> dff5411351c8, add cart shipment group and cart shipment quotes
INFO [alembic.runtime.migration] Running upgrade dff5411351c8 -> c0ab8731b26c, custom pages
INFO [alembic.runtime.migration] Running upgrade dff5411351c8 -> 1e34193846b8, make cart id a foreign key with index
INFO [alembic.runtime.migration] Running upgrade 1e34193846b8 -> d8ef1969fccd, remove foreign key constraints on cart_shipment_group selected option
INFO [alembic.runtime.migration] Running upgrade dff5411351c8 -> d8d5cba1e4a4, autofix company primary address
INFO [alembic.runtime.migration] Running upgrade c0ab8731b26c -> 6e00a847a3da, theme css stored in db
INFO [alembic.runtime.migration] Running upgrade c0ab8731b26c -> e6e332216367, give product context
INFO [alembic.runtime.migration] Running upgrade e6e332216367, 6e00a847a3da -> a669e5e75426, job comment open to client
INFO [alembic.runtime.migration] Running upgrade a669e5e75426, 1e34193846b8 -> f752e35afc0e, do not index back to quote
INFO [alembic.runtime.migration] Running upgrade f0a000817179 -> 4a337f45b7c0, orderable product images
INFO [alembic.runtime.migration] Running upgrade 4a337f45b7c0, f752e35afc0e, d8d5cba1e4a4, d8ef1969fccd -> de4b5c805328, allow function style components
INFO [alembic.runtime.migration] Running upgrade de4b5c805328 -> 4ab47a6ba66a, mailgun records
INFO [alembic.runtime.migration] Running upgrade 4ab47a6ba66a -> 0e12f6d7c81a, product images has own id
INFO [alembic.runtime.migration] Running upgrade 0e12f6d7c81a -> 4d3d04d46fd2, remove sms login templates from theme
INFO [alembic.runtime.migration] Running upgrade 4d3d04d46fd2 -> 23b11adca2bb, add error and login templates to themes
INFO [alembic.runtime.migration] Running upgrade 23b11adca2bb -> 81ed88b6c4b4, option field should not be nullable
INFO [alembic.runtime.migration] Running upgrade 81ed88b6c4b4 -> ba6b963eba02, assignment directly link to supply domain
INFO [alembic.runtime.migration] Running upgrade ba6b963eba02 -> ec2f73d993bb, Added matching inventory table
INFO [alembic.runtime.migration] Running upgrade ba6b963eba02 -> d9206ff0c99d, store page views
INFO [alembic.runtime.migration] Running upgrade d9206ff0c99d, ec2f73d993bb -> c177526095e2, force variation field link to a product
INFO [alembic.runtime.migration] Running upgrade c177526095e2 -> 38215b0006cb, Add_foundation_to_theme_table
INFO [alembic.runtime.migration] Running upgrade 38215b0006cb -> 9efeee37cf68, make shipment method tax type is not nullable
INFO [alembic.runtime.migration] Running upgrade 9efeee37cf68 -> 8faf7d2a3a06, Added domain jobs assignee middle table
INFO [alembic.runtime.migration] Running upgrade 8faf7d2a3a06 -> 1258ad63d672, add_subscriptions_table
INFO [alembic.runtime.migration] Running upgrade 1258ad63d672 -> 462821d90011, track subscription invoices
INFO [alembic.runtime.migration] Running upgrade 8faf7d2a3a06 -> d7ef9105bdab, set is job assignee attribute as enrolled domain attribute
INFO [alembic.runtime.migration] Running upgrade 462821d90011, d7ef9105bdab -> d6c5eb25b65c, add default for domain type for theme
INFO [alembic.runtime.migration] Running upgrade 462821d90011 -> 9a1602ecc2ad, plans have a show_public
INFO [alembic.runtime.migration] Running upgrade 9a1602ecc2ad -> b23195c92dbb, plan stores its parent
INFO [alembic.runtime.migration] Running upgrade b23195c92dbb -> 4dafc3cf1282, companies are stripe customers
INFO [alembic.runtime.migration] Running upgrade 4dafc3cf1282, d6c5eb25b65c -> 67a0542ce7a4, change bid to quote
INFO [alembic.runtime.migration] Running upgrade 67a0542ce7a4 -> e995b5d5c7c5, add invoice to quote
INFO [alembic.runtime.migration] Running upgrade e995b5d5c7c5 -> 387612cfc19c, Add notes and production files to assignments
INFO [alembic.runtime.migration] Running upgrade 387612cfc19c -> dbe3cfdc6394, migrate_user_primary
INFO [alembic.runtime.migration] Running upgrade dbe3cfdc6394 -> 561681c1946c, utrust payments
INFO [alembic.runtime.migration] Running upgrade 561681c1946c -> ee8e7224b412, add toast message encouraging new companies to add payment info
INFO [alembic.runtime.migration] Running upgrade ee8e7224b412 -> c430ae2f8713, new column for caching the fact of whether a companies invoices are unpaid
INFO [alembic.runtime.migration] Running upgrade c430ae2f8713 -> b93587ff7e9a, needs invoicing
INFO [alembic.runtime.migration] Running upgrade b93587ff7e9a -> 0446447ac5e7, add created by id from company
INFO [alembic.runtime.migration] Running upgrade 0446447ac5e7 -> 0e0dc2006299, rename tempoary created to ownership unconfirmed
INFO [alembic.runtime.migration] Running upgrade 0e0dc2006299 -> 534988e51aee, add ip address limit table
INFO [alembic.runtime.migration] Running upgrade c430ae2f8713 -> 57f5268570c8, add job purpose
INFO [alembic.runtime.migration] Running upgrade 0e0dc2006299, 57f5268570c8 -> 7c37a23c79c8, add job created product relation
INFO [alembic.runtime.migration] Running upgrade 534988e51aee -> 1b4291984630, add is orphan attribute to inventory
INFO [alembic.runtime.migration] Running upgrade 534988e51aee -> 29514a36c55c, add product margin
INFO [alembic.runtime.migration] Running upgrade 29514a36c55c -> 032ed1629a3b, add margin to variation field
INFO [alembic.runtime.migration] Running upgrade 032ed1629a3b, 1b4291984630, 7c37a23c79c8 -> a3c9b725a8a1, Add chained relation for product
INFO [alembic.runtime.migration] Running upgrade a3c9b725a8a1 -> 7592f1088d58, company tax type is a text field
INFO [alembic.runtime.migration] Running upgrade b93587ff7e9a, ee8e7224b412 -> 5eb7e4312850, taxes per company
INFO [alembic.runtime.migration] Running upgrade 534988e51aee, 5eb7e4312850 -> 9683bb0aa731, represent null tax with null
INFO [alembic.runtime.migration] Running upgrade 9683bb0aa731, a3c9b725a8a1 -> bb8d97c9b9de, Added discounts groups
INFO [alembic.runtime.migration] Running upgrade bb8d97c9b9de -> 0cf99bc98601, port product discounts to unit_discount_group
INFO [alembic.runtime.migration] Running upgrade 0cf99bc98601 -> 78f5e09730c7, product files
INFO [alembic.runtime.migration] Running upgrade a3c9b725a8a1 -> c41a17516147, manual control chained relationship
INFO [alembic.runtime.migration] Running upgrade c41a17516147, 78f5e09730c7, 7592f1088d58 -> 118c57e48517, draft support array of images
INFO [alembic.runtime.migration] Running upgrade 118c57e48517 -> 76613b20d6c1, force the middle file relationship can not be nullable
INFO [alembic.runtime.migration] Running upgrade 76613b20d6c1 -> 87485cd2c23e, Added on behalf of attributes to shipment
INFO [alembic.runtime.migration] Running upgrade 87485cd2c23e -> 86f7a7558b31, exchange rates
INFO [alembic.runtime.migration] Running upgrade 87485cd2c23e -> ebcb572ce96f, port menus to themes
INFO [alembic.runtime.migration] Running upgrade ebcb572ce96f -> 7581de065c81, domain_tags_add_show_public
INFO [alembic.runtime.migration] Running upgrade 86f7a7558b31 -> 93f79f4e13c7, artifical primary key on exchange rates
INFO [alembic.runtime.migration] Running upgrade 7581de065c81, 86f7a7558b31 -> 0a141e65d708, Add seller product editable for MOD
INFO [alembic.runtime.migration] Running upgrade 0a141e65d708, 93f79f4e13c7 -> c37bca3ac45a, empty message
INFO [alembic.runtime.migration] Running upgrade c37bca3ac45a -> 6f98486b0595, product has specific shipment methods
INFO [alembic.runtime.migration] Running upgrade 7581de065c81, 86f7a7558b31 -> daa99c5c0483, category can be domain independent
INFO [alembic.runtime.migration] Running upgrade daa99c5c0483, 6f98486b0595 -> 7b84212d1d53, empty message
INFO [alembic.runtime.migration] Running upgrade 7b84212d1d53 -> 8bce7fc12da2, Add drop shipment to product
INFO [alembic.runtime.migration] Running upgrade 8bce7fc12da2 -> 2b299f6cd05a, shipments to invoice many to many
INFO [alembic.runtime.migration] Running upgrade 2b299f6cd05a -> 12ecad6c51f2, Added product tax type
INFO [alembic.runtime.migration] Running upgrade 12ecad6c51f2 -> 745dedae8cac, webflow
INFO [alembic.runtime.migration] Running upgrade 745dedae8cac -> d555b8f1f8a6, remove job purpose
INFO [alembic.runtime.migration] Running upgrade 745dedae8cac -> a6f6f9c1411a, add commission rate and transaction fee
INFO [alembic.runtime.migration] Running upgrade a6f6f9c1411a, d555b8f1f8a6 -> 9cfc812a94a8, empty message
INFO [alembic.runtime.migration] Running upgrade 9cfc812a94a8 -> 6013c43fa0e0, owned_by_added_to_domain
INFO [alembic.runtime.migration] Running upgrade a6f6f9c1411a, d555b8f1f8a6 -> 9806e36a51c6, empty message
INFO [alembic.runtime.migration] Running upgrade 9806e36a51c6 -> 6dfec75dbf3e, auto increment for exchange rate id
INFO [alembic.runtime.migration] Running upgrade 6dfec75dbf3e, 6013c43fa0e0 -> 3cfb7eb691ac, empty message
INFO [alembic.runtime.migration] Running upgrade 3cfb7eb691ac -> cc38fd17a556, add original id for field and option
INFO [alembic.runtime.migration] Running upgrade cc38fd17a556 -> 21e5a6806ad6, theme_css_settings_table
INFO [alembic.runtime.migration] Running upgrade 6013c43fa0e0, 6dfec75dbf3e -> 0721712b8be1, merge_heads_again
INFO [alembic.runtime.migration] Running upgrade 0721712b8be1 -> 0ee84615113c, chained_inventory_handling_unit_price_allow_chained_inventory_creation
INFO [alembic.runtime.migration] Running upgrade 0ee84615113c -> 0550e27c4e29, add_chained_inventory_seller_product_and_chained_inventory_supplier_product
INFO [alembic.runtime.migration] Running upgrade 21e5a6806ad6, 0550e27c4e29 -> f2d9cb7bd1e2, empty message
INFO [alembic.runtime.migration] Running upgrade f2d9cb7bd1e2 -> b49aadd7623b, product inventory relation changed to many to many
INFO [alembic.runtime.migration] Running upgrade 21e5a6806ad6 -> db7548940a48, add enable notifications to user
INFO [alembic.runtime.migration] Running upgrade db7548940a48 -> b8a3e0eaec84, add_include_to_variation_field
INFO [alembic.runtime.migration] Running upgrade b49aadd7623b, b8a3e0eaec84 -> bbc050acd884, empty message
INFO [alembic.runtime.migration] Running upgrade bbc050acd884 -> 60b740c50c83, drop chained seller product id
INFO [alembic.runtime.migration] Running upgrade 6dfec75dbf3e -> df2e42794c30, stripe account id
INFO [alembic.runtime.migration] Running upgrade df2e42794c30 -> cc3efe2c8434, relation indices
INFO [alembic.runtime.migration] Running upgrade 60b740c50c83 -> 271a673d91b5, add_automatic_payment_relationship_table
INFO [alembic.runtime.migration] Running upgrade b49aadd7623b, b8a3e0eaec84 -> 8f69b75c01bc, empty message
INFO [alembic.runtime.migration] Running upgrade 8f69b75c01bc -> d50818252e0b, add invoice type
INFO [alembic.runtime.migration] Running upgrade 60b740c50c83 -> 8c12b1695984, add missing migration
INFO [alembic.runtime.migration] Running upgrade 8c12b1695984, d50818252e0b -> 1935238fb0e6, empty message
INFO [alembic.runtime.migration] Running upgrade 1935238fb0e6 -> 1589e42b7cf3, add product component relation
INFO [alembic.runtime.migration] Running upgrade 1589e42b7cf3, 271a673d91b5, cc3efe2c8434 -> 44a9888a4452, merge
INFO [alembic.runtime.migration] Running upgrade 44a9888a4452 -> e64ce31bed50, auto_assign_production_on_action_added_to_product
INFO [alembic.runtime.migration] Running upgrade e64ce31bed50 -> b53eb9f48b2b, add refund reference record
INFO [alembic.runtime.migration] Running upgrade e64ce31bed50 -> b93687793e17, allow_group_buy_for_product
INFO [alembic.runtime.migration] Running upgrade b93687793e17 -> 7095d3c121e1, feature_deadline_show_group_buy_status_added_to_product
INFO [alembic.runtime.migration] Running upgrade 7095d3c121e1, b53eb9f48b2b -> e8a5fadc8f75, empty message
INFO [alembic.runtime.migration] Running upgrade e8a5fadc8f75 -> f80c0bed6eb4, record refunder and refund time
INFO [alembic.runtime.migration] Running upgrade f80c0bed6eb4 -> e47a26bef090, add column for automatic payment relationship record for connect user
INFO [alembic.runtime.migration] Running upgrade e47a26bef090 -> 84feba2be8f8, support need-open-close inventories
INFO [alembic.runtime.migration] Running upgrade 84feba2be8f8 -> 568cb9d4a021, drop_limited_inventory
INFO [alembic.runtime.migration] Running upgrade 568cb9d4a021 -> 1c742d0afa85, registered guest
INFO [alembic.runtime.migration] Running upgrade e47a26bef090 -> a71e4f10d31b, inventory inbound quantity
INFO [alembic.runtime.migration] Running upgrade 84feba2be8f8, a71e4f10d31b -> 0f6223cb14f8, empty message
INFO [alembic.runtime.migration] Running upgrade 0f6223cb14f8 -> 5b3dc5a71fe5, store group buy status on directly on job
INFO [alembic.runtime.migration] Running upgrade 5b3dc5a71fe5 -> 35d9ec4b3dbc, add reference for inventories generated by
INFO [alembic.runtime.migration] Running upgrade 35d9ec4b3dbc, 568cb9d4a021 -> 13f6e542ff67, empty message
INFO [alembic.runtime.migration] Running upgrade 13f6e542ff67 -> b83cf268c71f, minimum per group
INFO [alembic.runtime.migration] Running upgrade 1c742d0afa85, b83cf268c71f -> 75cfef661bd8, merge_heads
INFO [alembic.runtime.migration] Running upgrade 75cfef661bd8 -> cb798f0b7f14, fix_product_show_feature_deadline
INFO [alembic.runtime.migration] Running upgrade 1c742d0afa85 -> 114ed1748a5b, company_is_testing_stripe_test_keys
INFO [alembic.runtime.migration] Running upgrade 114ed1748a5b -> 452b58d748a1, adding_trial_end_date_to_company_modal
INFO [alembic.runtime.migration] Running upgrade 452b58d748a1, cb798f0b7f14 -> a23564bfb5b0, merge_heads
INFO [alembic.runtime.migration] Running upgrade a23564bfb5b0 -> bc9e99b399f3, job_group_group_buy_production_started_added
INFO [alembic.runtime.migration] Running upgrade 452b58d748a1, cb798f0b7f14 -> 478155678160, empty message
INFO [alembic.runtime.migration] Running upgrade 478155678160 -> 3b248e121766, add group buy production started
INFO [alembic.runtime.migration] Running upgrade 3b248e121766, bc9e99b399f3 -> b4ce30d922b7, merge_heads
INFO [alembic.runtime.migration] Running upgrade b4ce30d922b7 -> bb3bd28d4c07, components_added_created_updated_created_by_updated_by
INFO [alembic.runtime.migration] Running upgrade bb3bd28d4c07 -> ae464a448fd3, company_stripe_connect_disabled
INFO [alembic.runtime.migration] Running upgrade ae464a448fd3 -> 5c5ca4a6d1d0, multiple register under domains with main label
INFO [alembic.runtime.migration] Running upgrade ae464a448fd3 -> 83d3c1121af0, product_created_by_and_updated_by
INFO [alembic.runtime.migration] Running upgrade 5c5ca4a6d1d0 -> 96276be220c7, accessible_attributes_added_to_domain
INFO [alembic.runtime.migration] Running upgrade 96276be220c7 -> 6827f5f37e7c, add_draft_templates_and_allow_client_draft_contribution
INFO [alembic.runtime.migration] Running upgrade 5c5ca4a6d1d0 -> 156bfb3debb9, add job paid at
INFO [alembic.runtime.migration] Running upgrade 156bfb3debb9, 6827f5f37e7c -> 139e73bf9e3c, merge_heads
INFO [alembic.runtime.migration] Running upgrade 139e73bf9e3c -> c382ec584f29, add_allow_client_draft_contribution_to_job_model
INFO [alembic.runtime.migration] Running upgrade c382ec584f29 -> 8daa1f11839b, add_allow_client_draft_contribution_to_job_model
INFO [alembic.runtime.migration] Running upgrade 8daa1f11839b -> a63f1998ef67, add_needs_drafting_to_assignment_and_supply_domain
INFO [alembic.runtime.migration] Running upgrade a63f1998ef67 -> 289fe0eb9e0d, added_shopify_attributes_to_domain
INFO [alembic.runtime.migration] Running upgrade 289fe0eb9e0d, 83d3c1121af0 -> 90f6a147e5a7, merge_heads
INFO [alembic.runtime.migration] Running upgrade 90f6a147e5a7 -> 2d8b1cd3d722, shopify_product_id_chained_to_product
INFO [alembic.runtime.migration] Running upgrade 2d8b1cd3d722 -> 28da8041d74d, add drafts shared with jobs
INFO [alembic.runtime.migration] Running upgrade 28da8041d74d -> 9fd85a700f01, rename_tracking_code_google
INFO [alembic.runtime.migration] Running upgrade 2b299f6cd05a -> 66433008480b, consider shipment exchange rate
INFO [alembic.runtime.migration] Running upgrade 66433008480b, 9fd85a700f01 -> b75c49969a9b, merge_heads
INFO [alembic.runtime.migration] Running upgrade b75c49969a9b -> e37b5bb930ac, add_shopify_order_id_to_invoice_and_job
INFO [alembic.runtime.migration] Running upgrade e37b5bb930ac -> b0ad7aaf5aa9, blind_ship_to_added_to_shipment
INFO [alembic.runtime.migration] Running upgrade b0ad7aaf5aa9 -> b0520ce9b92f, invoice record payment intent
INFO [alembic.runtime.migration] Running upgrade b0520ce9b92f -> 62e692be6367, reset domain show accessible entities only to default false
INFO [alembic.runtime.migration] Running upgrade 62e692be6367 -> 7dd44dbf54c6, add_shopify_order_id_back_to_job
INFO [alembic.runtime.migration] Running upgrade 7dd44dbf54c6 -> f47c4150490f, add_shopify_shop_url_to_job
INFO [alembic.runtime.migration] Running upgrade f47c4150490f -> 66e62cf35476, show_public_supplier_resell_added_to_category
INFO [alembic.runtime.migration] Running upgrade 66e62cf35476 -> f44e5a9b235e, show_production_files_to_client_added_to_job
INFO [alembic.runtime.migration] Running upgrade f44e5a9b235e -> 80915fa08a02, disable supply chain attribute
INFO [alembic.runtime.migration] Running upgrade 80915fa08a02 -> a396c741869b, add cloned_from_id
INFO [alembic.runtime.migration] Running upgrade a396c741869b -> 42a578d9c690, record shopify shipment delivery notified
INFO [alembic.runtime.migration] Running upgrade 42a578d9c690 -> dbbd2bfb6dc4, seo_domain_page_added
INFO [alembic.runtime.migration] Running upgrade dbbd2bfb6dc4 -> 6686bed2e82f, seo_domain_pages_meta_robots
INFO [alembic.runtime.migration] Running upgrade 6686bed2e82f -> d4751e3170dd, add_supply_chian_request_product_to_job
INFO [alembic.runtime.migration] Running upgrade d4751e3170dd -> 4c2876970785, supply_chain_request_status_added_to_job
INFO [alembic.runtime.migration] Running upgrade 6686bed2e82f -> 09f35f97eb54, api_keys_on_compay_for_shipment_services
INFO [alembic.runtime.migration] Running upgrade 09f35f97eb54 -> 33abaafe0730, shipment_service_added_to_shipment_method
INFO [alembic.runtime.migration] Running upgrade 33abaafe0730, 4c2876970785 -> aec0112c455e, empty message
INFO [alembic.runtime.migration] Running upgrade aec0112c455e -> 1a5cb588f14f, add name and shipment service data to shipment
INFO [alembic.runtime.migration] Running upgrade 1a5cb588f14f -> 44318ed33969, add shipment label and booking info
INFO [alembic.runtime.migration] Running upgrade 44318ed33969 -> 1fe5ea144a6b, change shipment service reference from json to string
INFO [alembic.runtime.migration] Running upgrade 1fe5ea144a6b -> 49ba5d7540e5, cart quote support sendle
INFO [alembic.runtime.migration] Running upgrade 49ba5d7540e5 -> 8ae40321e493, cart_shipqment_quote_name
INFO [alembic.runtime.migration] Running upgrade 8ae40321e493 -> df2fa66f39e4, square_company_attrs
INFO [alembic.runtime.migration] Running upgrade df2fa66f39e4 -> 7d988e9ce53f, square_company_location_web_id
INFO [alembic.runtime.migration] Running upgrade 7d988e9ce53f -> 82c48ef004c8, add_accept_square_to_product
INFO [alembic.runtime.migration] Running upgrade 82c48ef004c8 -> 4427fc31466c, add_accept_square_to_invoice
INFO [alembic.runtime.migration] Running upgrade 4427fc31466c -> 51c4c8593831, refund_key_added_to_refund_reference
INFO [alembic.runtime.migration] Running upgrade 51c4c8593831 -> bec8def5bd8b, add_accept_square_to_company_profile
INFO [alembic.runtime.migration] Running upgrade bec8def5bd8b -> ed892ea6f8ef, seo_pages_added_to_product
INFO [alembic.runtime.migration] Running upgrade ed892ea6f8ef -> c363292d367e, add components import and original relationships
INFO [alembic.runtime.migration] Running upgrade c363292d367e -> db0cd281ee18, change components unique contraints
INFO [alembic.runtime.migration] Running upgrade db0cd281ee18 -> bcc9591f1096, add component context change contraints and change component import relationships
INFO [alembic.runtime.migration] Running upgrade bcc9591f1096 -> 7d15e674575c, change unique constraints for component model
INFO [alembic.runtime.migration] Running upgrade ed892ea6f8ef -> 32b239481de2, pick_up_added_to_shipment_method
INFO [alembic.runtime.migration] Running upgrade 32b239481de2 -> 57332f1dd424, pick_up_added_to_shipment
INFO [alembic.runtime.migration] Running upgrade ed892ea6f8ef -> 0eb469a61e0b, add previous content for invoice
INFO [alembic.runtime.migration] Running upgrade 0eb469a61e0b, 57332f1dd424, 7d15e674575c -> 34a96c3cd288, empty message
INFO [alembic.runtime.migration] Running upgrade 34a96c3cd288 -> 99768a8e7e2e, compiled warnings added
INFO [alembic.runtime.migration] Running upgrade ed892ea6f8ef -> 7e5f6ba62a90, normalise all emails
INFO [alembic.runtime.migration] Running upgrade 7e5f6ba62a90, 99768a8e7e2e -> 00a5e21e8be0, empty message
INFO [alembic.runtime.migration] Running upgrade 00a5e21e8be0 -> 0bb5c0d15a20, theme context components and remove unused attrs
INFO [alembic.runtime.migration] Running upgrade 0bb5c0d15a20 -> ed45ac32fc6c, add list theme components to track imported components of theme
INFO [alembic.runtime.migration] Running upgrade ed45ac32fc6c -> f53dba2fbadc, generate component and theme context by reading code
Traceback (most recent call last):
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
self.dialect.do_execute(
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute
cursor.execute(statement, parameters)
psycopg2.errors.UndefinedColumn: column themes.ai_context does not exist
LINE 1: ...uthor_id, themes.foundation AS themes_foundation, themes.ai_...
^
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "venv/bin//alembic", line 8, in <module>
sys.exit(main())
File "/app/venv/lib/python3.8/site-packages/alembic/config.py", line 540, in main
CommandLine(prog=prog).main(argv=argv)
File "/app/venv/lib/python3.8/site-packages/alembic/config.py", line 534, in main
self.run_cmd(cfg, options)
File "/app/venv/lib/python3.8/site-packages/alembic/config.py", line 511, in run_cmd
fn(
File "/app/venv/lib/python3.8/site-packages/alembic/command.py", line 276, in upgrade
script.run_env()
File "/app/venv/lib/python3.8/site-packages/alembic/script/base.py", line 475, in run_env
util.load_python_file(self.dir, "env.py")
File "/app/venv/lib/python3.8/site-packages/alembic/util/pyfiles.py", line 90, in load_python_file
module = load_module_py(module_id, path)
File "/app/venv/lib/python3.8/site-packages/alembic/util/compat.py", line 156, in load_module_py
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 843, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "alembic/env.py", line 67, in <module>
run_migrations_online()
File "alembic/env.py", line 62, in run_migrations_online
context.run_migrations()
File "<string>", line 8, in run_migrations
File "/app/venv/lib/python3.8/site-packages/alembic/runtime/environment.py", line 839, in run_migrations
self.get_context().run_migrations(**kw)
File "/app/venv/lib/python3.8/site-packages/alembic/runtime/migration.py", line 361, in run_migrations
step.migration_fn(**kw)
File "/app/alembic/versions/f53dba2fbadc_generate_component_and_theme_context_by_.py", line 37, in upgrade
themes = session.query(Themes).all()
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3341, in all
return list(self)
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3503, in __iter__
return self._execute_and_instances(context)
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/orm/query.py", line 3528, in _execute_and_instances
result = conn.execute(querycontext.statement, self._params)
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1014, in execute
return meth(self, multiparams, params)
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/sql/elements.py", line 298, in _execute_on_connection
return connection._execute_clauseelement(self, multiparams, params)
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1127, in _execute_clauseelement
ret = self._execute_context(
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1317, in _execute_context
self._handle_dbapi_exception(
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1511, in _handle_dbapi_exception
util.raise_(
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/util/compat.py", line 178, in raise_
raise exception
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/base.py", line 1277, in _execute_context
self.dialect.do_execute(
File "/app/venv/lib/python3.8/site-packages/sqlalchemy/engine/default.py", line 593, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.UndefinedColumn) column themes.ai_context does not exist
LINE 1: ...uthor_id, themes.foundation AS themes_foundation, themes.ai_...
^
[SQL: SELECT themes.archived AS themes_archived, themes.id AS themes_id, themes.main_css_status AS themes_main_css_status, themes.main_css_error_message AS themes_main_css_error_message, themes.email_css_status AS themes_email_css_status, themes.email_css_error_message AS themes_email_css_error_message, themes.name AS themes_name, themes.description AS themes_description, themes.default_for_domain_type AS themes_default_for_domain_type, themes.header_template AS themes_header_template, themes.header_error AS themes_header_error, themes.header_html AS themes_header_html, themes.footer_template AS themes_footer_template, themes.footer_error AS themes_footer_error, themes.footer_html AS themes_footer_html, themes.index_page_template AS themes_index_page_template, themes.index_page_error AS themes_index_page_error, themes.index_html AS themes_index_html, themes.products_page_template AS themes_products_page_template, themes.products_page_error AS themes_products_page_error, themes.products_html AS themes_products_html, themes.products_js AS themes_products_js, themes.domain_invite_page_template AS themes_domain_invite_page_template, themes.domain_invite_page_error AS themes_domain_invite_page_error, themes.domain_invite_html AS themes_domain_invite_html, themes.reset_password_page_template AS themes_reset_password_page_template, themes.reset_password_page_error AS themes_reset_password_page_error, themes.password_reset_html AS themes_password_reset_html, themes.password_change_page_template AS themes_password_change_page_template, themes.password_change_page_error AS themes_password_change_page_error, themes.password_change_html AS themes_password_change_html, themes.job_drafting_page_template AS themes_job_drafting_page_template, themes.job_drafting_page_error AS themes_job_drafting_page_error, themes.job_drafting_html AS themes_job_drafting_html, themes.job_quote_requested_page_template AS themes_job_quote_requested_page_template, themes.job_quote_requested_page_error AS themes_job_quote_requested_page_error, themes.job_quote_requested_html AS themes_job_quote_requested_html, themes.invoice_page_template AS themes_invoice_page_template, themes.invoice_page_error AS themes_invoice_page_error, themes.invoice_html AS themes_invoice_html, themes.user_profile_page_template AS themes_user_profile_page_template, themes.user_profile_page_error AS themes_user_profile_page_error, themes.user_profile_html AS themes_user_profile_html, themes.product_page_template AS themes_product_page_template, themes.product_page_error AS themes_product_page_error, themes.product_html AS themes_product_html, themes.invoice_paid_page_template AS themes_invoice_paid_page_template, themes.invoice_paid_page_error AS themes_invoice_paid_page_error, themes.invoice_paid_html AS themes_invoice_paid_html, themes.login_page_template AS themes_login_page_template, themes.login_page_error AS themes_login_page_error, themes.login_page_html AS themes_login_page_html, themes.error_page_template AS themes_error_page_template, themes.error_page_error AS themes_error_page_error, themes.error_page_html AS themes_error_page_html, themes.js_bundle AS themes_js_bundle, themes.main_css AS themes_main_css, themes.main_css_template_using AS themes_main_css_template_using, themes.main_css_template_editing AS themes_main_css_template_editing, themes.email_css AS themes_email_css, themes.email_css_template_using AS themes_email_css_template_using, themes.email_css_template_editing AS themes_email_css_template_editing, themes.last_updated AS themes_last_updated, themes.public AS themes_public, themes.feature_image_id AS themes_feature_image_id, themes.domain_id AS themes_domain_id, themes.author_id AS themes_author_id, themes.foundation AS themes_foundation, themes.ai_context AS themes_ai_context
FROM themes]
(Background on this error at: http://sqlalche.me/e/13/f405)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment