# Your code and your data

> Open your site’s files in the Code view and its database in the Data view. The code is yours, and so are the tables behind your site.

Your teammate writes real code, and you can open every file. The Data view shows the tables, users and changes behind your site, in staging and live.

![The Code view with the commission form from Hattie Marlow's website open.](https://www.yoamigo.com/_next/static/immutable/media/code.1b8-w69qf9bgf.webp)

## Steps

### 1. Open Code

Press the Code tile at the top right. Pick a file in the Explorer, or press Cmd+Shift+F to search the whole project.

### 2. Change a file

Type in the editor and press Cmd+S to save the file. The change waits with your others for Save, like any edit.

### 3. Open Data

Press the Data tile. Tables lists your site’s tables and their rows, Users the people who signed in, and Migrations the changes waiting for your database.

![The Data view showing Della Fenwick's shows table and its rows.](https://www.yoamigo.com/_next/static/immutable/media/data.18n4zrbj1wqg9.webp)

### 4. Edit a row

Double-click a cell to edit it. Live data asks before it lets you, so a slip can’t change what fans see.

### 5. Switch between staging and live

The Staging and Live switch shows once both databases exist. Staging is where you try things.

## Good to know

### Database changes go live with Publish

A migration your teammate writes applies to your live database when you publish.

### While it builds

Code is read only during the first build, so you and your teammate never write the same file.

### Take your code

Export app in App Settings downloads your source code and files on a paid plan.

## Questions

### Can I change my site’s code myself in Studio?

Yes. Every file is in the Code view. Save it with Cmd+S, then save a version and publish like any other change.

### Can I change data on my live site from Studio?

Yes. Switch Data to Live and double-click a cell. Studio asks first, since live data is what your fans see.

## Related

- [Save a version and publish](https://www.yoamigo.com/learn/versions-and-publishing)
- [See your site the way fans do](https://www.yoamigo.com/learn/preview-and-test-users)
- [Ask a teammate for a change](https://www.yoamigo.com/learn/teammates)

Source: https://www.yoamigo.com/learn/code-and-data
