teleren/devto huggingface dataset:
Error when I delete a user: Unhandled Rejection (TypeError): Cannot read property 'error' of undefined
Tags: react, node
Published: 2021-02-16 16:56:39

Estou tentando excluir um usuário dentro do meu aplicativo, quando clico no botão que chama a função de exclusão, estou entendendo errado, Rejeição não tratada (TypeError): Não é possível ler a propriedade 'erro' de indefinido. mas quando eu atualizo a página, o usuário é excluído. 
```javascript
export const deleteUser = (clientId, userId, token) => {
    return fetch(`${API}/user/${clientId}/${userId}`, {
        method: 'DELETE',
        headers: {
            Accept: 'application/json',
            'Content-Type': 'application/json',
            Authorization: `Bearer ${token}`
        }
    })
        .then(response => {
            return response.json();
        })
        .catch(err => console.log(err));
};

const destroy = clientId => {
        deleteUser(clientId, user._id, token).then(data => {
            if(data.error) {
                console.error(data.error);
            }else{
                loadUser();
            }
        })
    }

<button onClick={()=> destroy(person._id)} className="btn btn-danger btn-sm">Deletar</button> 

//Node backend

exports.remove = (req, res) =>{
    User
    .findByIdAndRemove(req.params.clientId)
    .exec()
    .then(doc => {
        if(!doc) { return res.status(404).end();}
        return res.status(204).end();
    }) 
    .catch(err => next(err));
}
```
Udemy Testbericht
Tags: udemy, lms, review
Published: 2021-02-16 16:51:26

Wir haben alle schon von der Udemy-Plattform für Online-Kurse gehört. Allerdings ist es schwer, einen guten Bericht über die Plattform zu finden. Wir haben uns entschieden, unsere Erfahrungen mit der Plattform zu teilen. Der Bericht selbst ist eine Auflistung der Funktionen, zeigt die Vor- und Nachteile auf und gibt dann ein abschließendes Urteil.

Ich bin mir nicht sicher, ob du schon einmal von Udemy (udemy.com) gehört hast, aber das ist eine der großen Lernplattformen, mit über 55.000 Online-Kursen, die von Dozenten unterrichtet werden. Ziel ist es zu Lernen und Erfahrungen mit dir zu teilen.

Ich möchte, dass meine Kinder aufwachsen und in der Lage sind, alles zu tun.  Der beste Weg, dies zu tun, ist zu lernen.  Ich bin Elternteil von zwei Kleinkindern und ich möchte ihnen so viel wie möglich beibringen.

Wenn du darüber nachdenkst, eine neue Fähigkeit zu erlernen, stelle sicher, dass du den besten Ort kennst, um sie besser zu lernen.

Den gesamten [Udemy Testbericht](https://kursprofi.com/review/udemy/) lesen.
#100DaysOfHaskell: Start
Tags: learninpublic, beginners, learning, haskell
Published: 2021-02-16 16:50:27

---
title: "#100DaysOfHaskell: Start"
description: "I started to learn Haskell"
published: true
tags: ["LearnInPublic", "Beginners", "Learning", "Haskell"]
canonical_url: "https://miku86.com/blog/100daysofhaskell-start"
---

When you have a look at [all my post](https://miku86.com/blog), you can see that many of them are about JavaScript.

The more I've grown as an engineer/developer, the more I've moved away from caring too much about implementation details.

Tools like languages, frameworks and libraries come and go, but ideas, concepts and patterns stay way longer.

This is why I'm very open-minded towards learning new concepts.

[Functional Programming](https://en.wikipedia.org/wiki/Functional_programming) is one of these concepts I find very interesting and intuitive.

Nowadays I'm more into [mentoring](https://miku86.com/mentoring/), especially about ideas and concepts, so I don't program that much.

What do I do? So I already did a lot of functional programming in JavaScript and TypeScript, because this is what you use when you do a lot of React stuff, but I want to fully immerse into functional programming, not just when I need it.

This is why I decided to have a look at [Haskell](<https://en.wikipedia.org/wiki/Haskell_(programming_language)>) and I just started a `#100DaysOfHaskell` challenge. Because I want to see these new concepts in action, I try do some programming with Haskell every day.

You will see my progress from time to time on [my blog](https://miku86.com/blog) and live on [twitter](https://twitter.com/miku86com/status/1356505938144935936).

Currently, my code is on [repl.it](https://repl.it/@miku86) until I'll find a better solution. If you know about a better solution (the code breaks when you hit the `run` button), let me know!

Send me a tweet or a message if you've got some ideas or questions!
What's Dappening in Cryptocurrency and DeFI?
Tags: discuss, defi, dapps, cryptocurrency
Published: 2021-02-16 16:37:37

---
title: What's Dappening in Cryptocurrency and DeFI?
published: true
tags: discuss,defi,dapps,cryptocurrency
---

So, I get what DeFI is: Decentralized finance apps on the blockchain. I'm not an economist and it seems like you need a degree in advanced math, economics, and finance to grok half of Blockchain projects out there.  

As a basic full-stack "crud" developer, are there things "missing" from the DeFI ecosystem that an "average" developer could possibly make a buck or two with a side gig?

The biggest thing I can think of would be upsetting Ticket Master's monopoly on tickets by building something with NFT's and a ticketing system but that's a bit beyond my skill as a solo-dev. 

***Discuss: What do you think of the state of Dapps, DeFI, Blockchain, and what apps could be better or are just missing that should exist? Also, what are good "case studies" of successful crypto-currency projects that actually make money?***
How do you deal with burnout and depression?
Tags: discuss, burnout, depression, freelance
Published: 2021-02-16 16:25:49

---
title: How do you deal with burnout and depression?
published: true
tags: discuss, burnout, depression, freelance
---

I'm a freelancer and struggling. I've been doing fullstack Laravel since 2013. Part of my burnout is boredom. I want to move to something exciting like Blockchain, or robotics but lack the skill set. I've been playing with Rust and Golang just to do something different than normal "crud" development. 

I want to launch a side project but second guess every idea I've ever had (sometimes when I'm nearing launch) afraid to launch and failure to launch are my modus operandi at this point. Because of anxiety, burnout, and depression I haven't had a freelance client since September and have a ***GoFundMe*** page up just to try and keep power/internet running this month.

{% twitter 1357104518329032706 %}

I'm desperate but just the thought of contract work makes me panic, I thought I'd have the time or mindset to launch something in the downtime but instead, I've gotten more depressed and anxious. 

I'm 41 so maybe there's some "mid-life crisis", but I'm also the average age of most "successful" CEOs of startups, so I guess now's as good a time as any to start. 

Working on things I find impactful makes me forget my depression, so maybe a passion project is what I need, but haven't found a way to get that to pay the bills (maybe start a non-profit to get some funding for it?) 

How do you cope when you're feeling at the end of your wits, and lately "brain fog" has been a huge issue as well, I'm not sure if that's depression caused or if I had covid-19 and didn't know it. I think the latter truthfully as I was sick in April when the wife and kids were at my sister-in-law's. I thought it was allergies but I haven't felt "right" since. 

### Anyone else going through anything similar?
How do I link my button at app.js to direct me to the home page?
Tags: reactnative, react
Published: 2021-02-16 16:21:08

Hi everyone, I'm building web application with React and I want on my main page app.js to have only cover pic with one button which would be linked to the home page but I'm super stuck and after trying different methods still not getting this button linked to home page.
Could anyone can help me please? thanks for any comments!
Reading List Week One
Tags: webdev, programming, discuss
Published: 2021-02-14 16:42:11

---
title: Reading List Week One
published: true
date: 2021-02-14 16:21:02 UTC
tags: webdev,programming,discuss
canonical_url: https://germangamboa.com/posts/reading-list-week-one
---

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/80bfuca68y5n4fn0jrcc.jpg)

# Reading List Week One

As you grow in your career finding, "fresh" content gets a bit difficult. Reading the same rehashed async-await article just doesn't cut it! So I figured that compiling a weekly list of the articles I found interesting or read would help some people.

## The List

- [Why Tacit Knowledge is More Important Than Deliberate Practice](https://commoncog.com/blog/tacit-knowledge-is-a-real-thing/)
- [Copying Better: How To Acquire The Tacit Knowledge of Experts](https://commoncog.com/blog/how-to-learn-tacit-knowledge/)
- [Double-thinking in SQL](https://explainextended.com/2009/07/12/double-thinking-in-sql/)
- [3 Ideas How to Communicate Your Architecture](http://beza1e1.tuxen.de/communicate_architecture.html)
- [The Database Inside Your Codebase](https://feifan.blog/posts/the-database-inside-your-codebase)
- [Is Software Abstraction Killing Civilization?](https://www.datagubbe.se/endofciv/)
Improved Gamification: Two New Criteria Conditions
Tags: gamification, saas, api, achievements
Published: 2021-02-16 16:17:52

We just published a couple of simple blog posts for [r4nkt](https://r4nkt.com) describing two new criteria conditions.  Check them out:
* https://r4nkt.com/blog/new-criteria-condition-days-of-week
* https://r4nkt.com/blog/new-criteria-condition-months

If you're wondering what criteria conditions are, they are a simple way that r4nkt allows you to define the criteria that must be met in order for achievements to be earned in your game or app.

R4nkt has [over a dozen individual criteria conditions that you can use](https://docs.r4nkt.com/concepts/criteria-conditions).  We will continue to add to the list.

Combining and nesting criteria conditions and rules gives you a great deal of possibilities when it comes to defining your achievements.  It's just one of the things that sets r4nkt apart. 😎

We also have plans to introduce the ability to use your own custom data in rules and conditions, which will dramatically expand the kinds of criteria you can define for your achievements. 🤯

Follow us here or [on twitter](https://twitter.com/r4nkt) or [sign up for early access](https://r4nkt.com).  Let us know what you think...! 🤓
5 tips for learning CSS in 2021
Tags: css, webdev, showdev, tips
Published: 2021-02-16 16:12:45

[![promo](//rollercoin.com/static/img/referral/banners/ref_72890.gif) ](https://rollercoin.com/?r=kl3gfn3b)

**CSS is a language that can be complicated (at least at the beginning), it may not be very clear and sometimes a bit weird the way some things are written (I felt that at the beginning) but the following tips will help you to get to know it and master it.

##**Selectors**

Identify the **different selectors** you can use to **style** your HTML. At least focus (in the beginning) on the most basic ones like **tags** selectors and selectors by **id** and **class** (believe me it will be a lot of fun to fill all your html with just id and classes).

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/da9uk574a1i5vhgmzs5g.png)

##**Anatomy**

Knows the **anatomy of its declaration**, that is to say, the base structure with which it must be written. Understand how the selectors are named with their respective patterns or structure, know what the properties and their values are.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/77m9f6vr1jg9ra9roizw.png)

##**Box Model**

Understand what the **box model** is and what properties affect its **sizing.** Understanding the box model will expand your mind and you will be able to see and understand perfectly how certain properties act in such a way and how it can be affected if you change or add another property (such as box-sizing).

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/5x0fae1sh0ntck7jytiy.jpg)

##**Positioning**

Master how elements are positioned. Using positioning **absolute, relative, Flexbox and CSS Grid.** Understanding the positioning will help you to see how all the elements that you style have an order and roughly meet certain patterns, which you can break if you know how to use their positions (CSS Grid for example), in short you will know how your html elements are distributed in order to give a more beautiful and friendly to the eye (and not all as a word with pure Arial 12).

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/tufsazko7cohlvcy8c4e.png)

##**Practice**

**Practice and perseverance are fundamental in your learning process. Try to copy what others do, that helps a lot to see how others think, it is also highly recommended that you play a lot, that by yourself try to do and remember how to do it, that exponentially increases your knowledge because it just came out of you.

![Alt Text](https://dev-to-uploads.s3.amazonaws.com/i/ld2ngqdjtny28z4ijojh.jpg)





<center>
If you liked the content you can support me in:
</center>

[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/G2G42SCZF)

<center>
Want to earn free Bitcoins and Dogecoins? Click on the banner!
</center>

[![promo](//rollercoin.com/static/img/referral/banners/ref_72890.gif) ](https://rollercoin.com/?r=kl3gfn3b)
How to install Applications on Linux 
Published: 2021-02-16 16:09:12

##### Are you a Linux user and you have been looking for a way to install applications ?
> Today we are going to learn how to install applications in linux 

#### WHAT IS SNAP

* Snap is a software packaging and deployment system created by Canonical for the operating system that use Linux kernel 

* Snap and it tool snapd  works across all range of Linux distro 

#### Installing Snapd in your computer
  > if you use Ubuntu 16 upward , dont worry you already have  snap installed
* but incase if you think you dont , you can install it this way
##### To installo snap you need to do this 
* ` sudo apt install snapd `

now once snap is installed you can check the version , of the snap of have installed by doing this :
* Open your Terminal ( CTRL + ALT +T )
* type ` snap version ` once you press enter you will see the version 

![term.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1613488915967/XeCDV99zw.png)

#### How to install apps from snap 
> snap is very easy and simple to use 
installing apps in snap is via the terminal 

#### steps 
* go to %[ https://snapcraft.io/ ]
*  click on the search bar , then search for the  application you want to install 

![snpa.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1613489581742/JjkCiMeZI.png)
* click on the app you want to install 

![vs.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1613489667456/BGyYplXZ_.png)
* once you are navigated to the app page 
* click on the install button , a drop down will appear 

![insta.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1613489790003/Zq_lBhV7g.png)
*now copy the installation code to your terminal 


![in.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1613490549586/03MO8T9cC.png)
* now press enter and wait for the installation to finish 
* After installation has finished it will create a desktop entry
i am using react + .netcore having issue while running to server(node v14.15.1 and npm 6.14.8 ) on my machine it is working fine
Published: 2021-02-16 15:42:05

An unhandled exception occurred while processing the request.
AggregateException: One or more errors occurred. (One or more errors occurred. (The NPM script 'start' exited without indicating that the create-react-app server was listening for requests. The error output was:

ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
Γöé npm update check failed Γöé
Γöé Try running with sudo or get access Γöé
Γöé to the local update config store via Γöé
Γöé sudo chown -R $USER:$(id -gn $USER) C:\Windows\system32\config\systemprofile\.config Γöé
ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
npm ERR! code ENOENT

npm ERR! syscall open

npm ERR! path C:\Applications Websites\DIEPconfig\ClientApp\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Applications Websites\DIEPconfig\ClientApp\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent


npm ERR! A complete log of this run can be found in:

npm ERR! C:\Windows\system32\config\systemprofile\AppData\Roaming\npm-cache\_logs\2021-02-16T15_18_18_725Z-debug.log

))
System.Threading.Tasks.Task.ThrowIfExceptional(bool includeTaskCanceledExceptions)

InvalidOperationException: The NPM script 'start' exited without indicating that the create-react-app server was listening for requests. The error output was:

ΓöîΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÉ
Γöé npm update check failed Γöé
Γöé Try running with sudo or get access Γöé
Γöé to the local update config store via Γöé
Γöé sudo chown -R $USER:$(id -gn $USER) C:\Windows\system32\config\systemprofile\.config Γöé
ΓööΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÿ
npm ERR! code ENOENT

npm ERR! syscall open

npm ERR! path C:\Applications Websites\DIEPconfig\ClientApp\package.json
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Applications Websites\DIEPconfig\ClientApp\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent


npm ERR! A complete log of this run can be found in:

npm ERR!
How to intercept and mock the response of an HTTP request with Cypress
Tags: cypress, testing, automtion, e2e
Published: 2021-02-16 15:41:26

## Today, in “Pinches of Cypress”, learn how to mock the server's response

Sometimes we need to run automated tests in environments where we have no control over the data.

It would be useful in such situations if we could intercept the call to the server and then mock its answer with known data.

I have good news. With [**Cypress**](https://cypress.io), you can achieve this easily.

I will present a simple example, but the idea is the same when working with more complex examples.

Imagine an application that allows the creation, reading, updating, and deletion of notes.

After logging into the application, the user is directed to their personal list of notes.

What to do if we do not have control over the number of existing notes for the test user in the production environment, for example?

After all, why not run tests in production, right? 😜

The test scenario is as follows. I want to test that only one element with the `list-group-item` class is displayed when there is no note in the list, and this element renders the button to create a new note.

**Note:** If there were more notes, each one would also be rendered in an element with the `list-group-item` class.

The test would be like this.

```js
describe('Empty notes list', () => {
  beforeEach(() => {
    cy.intercept('GET', '**/notes', []).as('getNotes')
    cy.login()
    cy.wait('@getNotes')
  })

  it('renders only the button to add a new note', () => {
    cy.get('.list-group-item')
      .should('have.length', 1)
      .and('contain', 'Create new note)
  })
})
```

Notice that in the first line of the `beforeEach` function, I invoke `cy.intercept` passing as arguments the `GET` method, the `'**/notes'` route, and as an answer, an empty array (`[]`).

The return of the server when we make a `GET` request to the `'**/notes'` route is an array of notes, however, as we are mocking the response with an empty array (`[]`), this is what the frontend receives, and therefore, no notes are rendered.

> Another advantage of running tests mocking server requests is that they run much faster!

That's it!

___

Are you enjoying the "**Pinches of Cypress**" series?

I'm looking forward to hearing your feedback!
___

This post was originally published in Portuguese on the [**Talking About Testing**](https://talkingabouttesting.com/2021/02/15/como-interceptar-e-mockar-a-resposta-de-uma-requisicao-http-com-cypress/) blog.
___

Would you like to learn about **test automation with Cypress**? Get to know my online courses on [**Udemy**](https://udemy.com/user/walmyr).
Real-world CSS animation challenge 🌎
Tags: css, codenewbie, tutorial, todayilearned
Published: 2021-02-16 15:25:01

Hey coding champs,

Check this little animation project build with just HTML and CSS no Javascript at all.

Actually, this post is a part of our 20 day CSS animation post.

{% link https://dev.to/atulcodex/20-days-of-css-animation-post-3g8d %}

In this post, I'm not going to explain to you anything. In this post, you will see my real-world CSS animation challenge which is a landing page animation.

{% codepen https://codepen.io/atulcodex/pen/dyOvzpz %}

That's all for this post And if you are interested to learn CSS you can join [Eduonix e-learning platform](https://www.eduonix.com/UHJvZHVjdC0xMzE1MDIw).
Day 3
Tags: 100daysofcode
Published: 2021-02-16 15:20:38

Day 3/100 of #100DaysOfCode

Blurry-Loading | Codewars | Node.js

Hours coded: 1.7
Lines of code: 167
Keystrokes: 2560


1. Completed the "Blurry-Loading" project. It's part of the "50 Projects in 50 Days" Udemy Course.

Technology: HTML, CSS, JavaScript DOM


2. I solved the "Create Phone Number" problem on Codewars. Solved this problem using JavaScript Template strings. It was easy. And I did not forget to check best practices.

3. To complete the Face-Recognition-Brain Project, I need Node.js knowledge. Today, I practiced Node.js. It's part of "The Complete Web Developer in 2021: Zero to Mastery" Udemy Course. Special thanks to @AndreiNeagoie for this amazing course.

via @software_hq's #vscode extension https://lnkd.in/ggsUNjy
How do you deploy your database changes?
Tags: discuss, healthydebate, webdev, database
Published: 2021-02-16 15:17:05

When working with websites that are likely to have active users at any time and you can't have downtime, deploying database changes with your code changes can be an issue. You need to either deploy changes in a way that they can go out at different times without causing issues or deploy database changes that take effect at the same time as the code changes.

# Concerns during database deploys

- No downtime
- Possible bugs
- Rolling back code
- Data changes
- Possible long-running tasks (import data, big data updates, etc.)

# Possible deployment solutions
- Deploy with the code as part of the code CI (Continous Integration process) using something like migrations or deploy scripts
- Deploy database changes ahead of time in a way that won't break existing code.
- Deploy database changes with their own CI
- Manually deploy database changes

How do you handle your database deployments? Do you use one of the above solutions or something else?

Do you have any tips or tricks for database deployment or handling issues that may arise?