---
title: Building a Life OS (Part 1)
url: "https://aaronfrancis.com/videos/building-a-life-os"
path: "/videos/building-a-life-os"
type: video
author: Aaron Francis
published: 2024-07-02
topic: "Laravel & PHP"
description: "The first Life OS stream. I run laravel new on an app to handle the things I should be doing but don't, because they don't happen automatically, and start modeling the data live: podcasts, episodes, channels, videos, and transcripts."
keywords: [life os, laravel, data modeling, channels, transcripts, stream]
youtube_url: "https://www.youtube.com/watch?v=mcwKko8-N2s"
site_index: "/llms.txt"
keyword_index: "/llms/keywords.txt"
---

# Building a Life OS (Part 1)

The first Life OS stream. I run laravel new on an app to handle the things I should be doing but don't, because they don't happen automatically, and start modeling the data live: podcasts, episodes, channels, videos, and transcripts.

## Transcript

**Aaron Francis:** Hello. Test, test, test. Let's see. There we go. I need to get a mic, like a mic drop so I can mute when I start coughing.

**Aaron Francis:** Hello, Slava. So I have chat up here, but I also have chat down here, and I think down here is gonna end up being better. Sound is good. Yeah, I mucked around with the sound. Um, somebody on the last stream left a, a link to a helpful video, and I mucked around with the OBS settings, so hopefully it sounds good.

**Aaron Francis:** Hey, Simon. Am I Batman? Why am I Batman? I like Batman. I... It's a great thing to be. Here I am, true to my word, streaming more. So, um, I am streaming to Twitch.

**Aaron Francis:** Can we get a better PPP discount? I don't know, man. I feel like it's pretty generous already. You gotta stop before the Austria football game. Oh, how long do I have? When's the Austria game start, in number of hours? Don't give me a crazy UTC time, 'cause I'm not that good at time zones.

**Aaron Francis:** Uh, I am not in my backyard studio. This is an apartment. So I am in, uh... This is a one-bedroom apartment, and behind me should be a window, but I've covered it up with a fake wall. 2100 CEST. I've never heard of that time zone in my life. Um, from Aaron D.

**Aaron Francis:** Francis Studio. So this is, this is where I'm sitting right now. So that, that black wall or those black trash bags behind me, that's that wall. Um, those...

**Aaron Francis:** You see those cabinets? Those are those cabinets. So there is a wall behind me that I have constructed. Two and a half hours, oh, that's great. There's a wall behind me that I have constructed. Thanks. I love you too, I suppose. Uh, yeah, I'm on Twitch, only because of you, Teej. I'm actually not on Twitch. I'm on, uh, Twitter, but I'm streaming to Twitch.

**Aaron Francis:** Um, but I never went to the, the Twitch interface. So yeah, this is the wall that's behind me. I made a fake wall, and then I put pegboard over it, and so you can see that's, well, me, but behind me is that two-by-four wall. You are on Twitch. I am on Twitch. That is true.

**Aaron Francis:** That is true. Um, sure, you can ask me as many serious questions as you want. I am not guaranteed to answer them. Thanks, Tech Doofus. Switching to YouTube. Uh, Florian, was another service bad? Was something crapping out? Any resources you recommend for building better products?

**Aaron Francis:** Uh, "The Art of Product" podcast, like f- the last 400 episodes. Do you believe in God? You bet I do. In fact, um, let's see. Where would I find that? Uh, aaronfrancis.com, content, podcasts, guest appearances.

**Aaron Francis:** Aaron Francis On Being a Christian in Tech. There you go. So you can watch that. It's like an hour and a half. It's super long. Yeah, no kidding. I do have two sets of twins. Hello, Matthias. Um, okay. So do you believe in God? Yes, there's that answer.

**Aaron Francis:** Um, this is cool because I am listening to music, but I don't think y'all can hear it, 'cause I don't like streaming music 'cause that feels annoying to me. What are we doing? That's a great question. Um, Laravel new, if you could spell. Laravel new. What do we wanna call this?

**Aaron Francis:** Oh, goodness. We're building, um, we're building a, a life OS because I am frustrated by the number of things that, one, I have to do, two, should be done automatically, and three, I don't do because they should be done automatically. So this is, um... I've been scheming.

**Aaron Francis:** Now that the course is released, it's not done yet, but let's see. Um, if we switch to this. You can't see a single thing on that, can you? That's okay. It's very good. Um, so here's the plan.

**Aaron Francis:** We're gonna build this over the next maybe couple of months. Uh, we're gonna build this, and this is gonna be my system for keeping track of my life. Uh, it's gonna have, it's gonna have everything. Finances. So I'm gonna do all my bookkeeping in here. Um, I'll do all my bookkeeping.

**Aaron Francis:** I'll keep track of my YouTube videos. I'll write blog posts in there. Um, I will pull in my Twitter bookmarks 'cause I feel like I bookmark a lot of good stuff, uh, on Twitter that never s- again sees the light of day. So we'll put that in there. Pull down all of the podcasts that I'm either hosting or am on. Um, I wanna be able to send outbound emails from it, because right now, like, I have to go into Bento, which I love, but

**Aaron Francis:** I want-- I need to, like, have, like, hey, I published a new whatever. I wrote a blog post. I was on this thing. I released this thing. And I wanna be able to, like, build up kind of a newsletter from the disparate pieces automatically, um, and then send it through Bento, so we'll be doing that. Keep track of open source stuff. I think the biggest ones are going to be the bookkeeping, which I'll integrate the Plaid API for, um, and then

**Aaron Francis:** probably the other big one is gonna be, like, the content system. So, like, what I really want, what I really want is to be more efficient. That's what I really want. But what I really want is, um, to be able to, like, repurpose content.

**Aaron Francis:** So record a video, record a video and have it turn into, not turn into, but give me a head start on a blog post or write a blog post and give me a head start on a, on a video. So stuff like that. Um, I have worked with the Plaid API, uh, and it's quite good. I like it. I think all financial APIs are kinda crappy, but I find Plaids to be quite good.

**Aaron Francis:** So now that the course is released, um, I've neglected a lot of life things for a super long time, and so now it's time to do some of those life things, but also make sure that I don't have to do them manually forevermore. So here are the SQLite docs. Finished, uh, most of that course.

**Aaron Francis:** I still have three modules to do, uh, but Steve is out this week, and so I am taking a light week in terms of recording, 'cause I'm a little bit burned out on recording, if we're being honest. Um, and so we're gonna build. We're just gonna freakin' build some stuff. Um, always, it's always good to have a notepad. Always have a notepad.

**Aaron Francis:** Always have a notepad. Always have sticky notes. Okay. So I think to start, I wanted to give it a person's name. Um, so let's call this, uh... You know what? We're just gonna call it Life OS for now.

**Aaron Francis:** And what do I want for a starter kit? Am I the firstborn? No, I'm the last born. Hey. Hi, Paige. Paige, Paige, Paige, you're here. Hi, Paige. Um, Life OS. You want me to call it Paige OS?

**Aaron Francis:** I thought about naming it after one of my children, but then, like, I'm hopefully going to be addressing this thing, like, uh, and I, I don't wanna say like, "Hey, Simon, add this to my to-dos," because my son's name is Simon. It's like... Also, I don't-- Weirdly, I don't have a firstborn. I have two firstborns, um, because we have twins.

**Aaron Francis:** Technically, there's a firstborn, but I'm not gonna say who it is, 'cause I don't want them to really ever know. Laravel Breeze, that's what I want. I'm gonna do, I'm gonna make it a view app. I do want... I don't think I need... Yeah, let's go ahead and do SSR. I don't want dark mode or TypeScript.

**Aaron Francis:** Gemini OS. Gemini OS is cool. Oh, VPC sidecar. Yeah, so that-- So this is a great point. Um, so J2 Hornet, this is a great question. PHP unit, yes. So, where is it? J2 Hornet is asking me to do something on my open source repos, and here's the thing.

**Aaron Francis:** I've been so bad, I've been so bad about paying attention to them, and that's my fault, and I feel really guilty about that. Um, so I'm really sorry. And yes, you can pester me to do that, and yes, I will do it. Um, I will do that, provided there are no problems, I will do that today.

**Aaron Francis:** Aaron OS. Yeah, I don't wanna talk to it and say, "Hey, Aaron," 'cause, like, I'm Aaron. Um, SQLite is fine to start. Yeah, that's fine. Default database migrations, sure. Yes, create it. God, I love this installer. It's so good. Bro S.

**Aaron Francis:** All right. All right. That's pretty good. That's pretty good. That's pretty good. Oh, you're welcome, J2 Hornet. That's very nice. I sincerely apologize for not merging that. Jarvis, I know. I feel like Jarvis is right. Um, all right. So let's write down some of the stuff we're gonna do.

**Aaron Francis:** Fin OS is pretty cool. That's actually a pretty cool name. Um, and the whole thing, like, Doug is kinda lame. Um, I kinda like Doug because of how lame it is. Um, one of the main entry points to this app is gonna be through Telegram, so that I can message the app.

**Aaron Francis:** Uh, I can message the app, and it will do things for me. I will have a UI, and I'll have a CLI, but I really want, I really want a, um, I really want a Telegram entry point. Mm. Finn is cool. Doug is my dad's name. Sorry to your dad. It's a good name.

**Aaron Francis:** It's a good name, don't get me wrong. Can I use dark mode? No. Sorry. You can just turn the brightness down, I suppose. Um, all right, so over here, let's do-- What do we wanna do? Um, we wanna do bookkeeping. B-B-O-O-K-K...

**Aaron Francis:** Bookkeeping, yeah. So, bookkeeping is gonna do, uh, Plaid API, um, probably Stripe API as well, maybe CSV import. But the first thing I wanna do is, um, ch-ch-ch, what else do I wanna do?

**Aaron Francis:** So I think the first thing I wanna do is automate the content retrieval and transcription maybe. Let's start there. Um, so this will also drive my personal website. So you see all this down here, where it, like, pulls in YouTube videos and stuff.

**Aaron Francis:** Three hundred and seventy-two thousand views. Are you kidding me? Are you kidding me? That's pretty good. That's pretty good. That shocks me. Two hundred thousand views? Compare that to this blog post that I thought was very good, and it has four point three thousand views.

**Aaron Francis:** I feel like this is such a good blog post. Wah, wah, wah. Oh, he must have changed his profile picture. Um, that's crazy. Popular videos. Man, look at this. This is-- this sucks. The most popular ones all are on the Planet Scale channel.

**Aaron Francis:** Freaking, gosh dang it. I have, uh, th- okay, that's not totally true. I have a few that are over a hundred thousand on my channel. That's kinda funny. Um, watching is greater than reading. See, this is a number-- This is, like, this is the thing.

**Aaron Francis:** I don't believe that, but the world does believe that, and so it doesn't matter what I believe. What are they gonna do, fire me? No, they're gonna sue me. That's what they're gonna do. I'll just re-record them. I'll just redo it and make it better. Who am I competing with?

**Aaron Francis:** Me. I can beat me. That guy's an idiot. All right. Mm, mm, mm. So the first thing I wanna do is automate content for the personal website. That would be pull, uh, YouTube videos down, and some of this we can steal. Some of this we can steal from my existing personal website, um, but I do wanna make it better.

**Aaron Francis:** A Life OS, NERT, is something that's gonna just take care of my entire life. Um, literally everything I need to do, like, "Hey, it's Thursday night. Don't forget to roll the trash cans out." It's gonna telegram me that. It's gonna message me that. Uh, I stole that name from Kitsey.

**Aaron Francis:** He, he's building a Life OS at... What is his called? Goodness. What's Kitsey's Life OS called? Benji maybe, I think. Is this right? There you go. But I don't want, I don't want all of these things. And I want it to be mine.

**Aaron Francis:** Oh, yeah. Get Notion out of here, man. See, this feels cool, but I don't want, I don't want this. I don't want, I don't want mood, I don't want fasting, I don't want habits, I don't... This is, this is his Life OS. I want mine. Um, ch-ch-ch, let's get, uh, let's just get a blank one so we can stop seeing my face here.

**Aaron Francis:** All right. Um, so what-- First thing we're gonna do is we gotta create some models. Um, so let's do... Ooh, this is gonna be fun. We're gonna do data modeling live, which means we're gonna mess it up, and we're gonna get to do it a bunch of times. Mind Goblin's a pretty good name, actually. I will host my Life OS.

**Aaron Francis:** Um, I'll host it because I did just type about blank. I do that all the time, and I don't like-- I don't know where I picked that up. It's so weird. I wanna host it. It's gonna be on Forge, Laravel Forge, because it's gonna be doing a bunch of stuff in the background all the time.

**Aaron Francis:** Contrast on that navbar. What navbar? What are you talking about? This navbar? This navbar? I don't know what you're talking about. So let's make a... I think we need a... Do we need a podcast or just podcast episode? Oh, that's interesting.

**Aaron Francis:** A little PWA stuff. See, there's gonna be so much good stuff to learn while we do this. Do I want... All right, let's type out what we think. Um, so I think we're gonna have a podcast. These are the models, I think. Podcast, video. See, but here's the thing, a podcast could be a video.

**Aaron Francis:** Uh, that's fine. Just keep going. Just keep going. Um, Benji, yeah. You might want a... Oh, Benji's navbar It's so bad I didn't even see it. You're absolutely right. Podcast video.

**Aaron Francis:** I don't-- Is it podcast episode or do I actually want podcast? I think I probably want podcast that has many episodes. I think that's probably what I want. And a video, that I don't feel like that's right. Um, uh, da, da, da.

**Aaron Francis:** Yeah, I don't use Laravel Idea. I don't know if that makes me a bad Laravel developer or not. Do I want channels? Does it matter? Does it matter? So I have channels here. Hmm.

**Aaron Francis:** So long, Steve. You've got videos to record. You should not be watching this. So I could make a guest channel and I could also make a guest podcast. Um, see, but like the title of the podcast is model item.

**Aaron Francis:** I think I can do-- I think we also want at least courses. Um, we do need articles, that's for sure. Videos, articles.

**Aaron Francis:** So if we scroll up, we've got, um, we've got lists which are just hysterical. Things that work when they're broken. What a great list. Some hammers is maybe the funniest thing I've ever written because what hammers? Which, which hammers work when they're broken?

**Aaron Francis:** Just amazing. Great content. Just great content. Courses, articles, um, I think that's probably it for content. Exactly. It depends on where they break. Content models. Podcast has episodes and a channel has videos.

**Aaron Francis:** Um, I don't like channel. Channel feels real... Courses is fine. It's not gonna have any associations. Maybe a, um, may- a video can optionally belong to a channel and an episode can optionally belong to a podcast.

**Aaron Francis:** Comments. Yeah. I'm gonna have a lot of, um, I don't know if I wanna keep track of all my tweets. That sure is a lot. Maybe I do. Maybe I do. Maybe I do. I'm gonna have like to-dos, um, comments, um, made your own Notion.

**Aaron Francis:** That's what this is gonna end up being, but I'm gonna like it instead of hate it. Um, so I'm getting a lot of people saying that it should be-- Yeah, I don't like, I don't like Blueprint. I don't, I just don't like Blueprint. Um, I'm just so like, I think I'm realizing that I'm very old.

**Aaron Francis:** Um, I think, I think that's what I'm realizing. So people are saying that there should be some sort of like media and media item where media item has some sort of type of maybe video, audio, something like that. Um, I'm thirty-five.

**Aaron Francis:** Shane, I know who you are. Um, I don't like Coke Zero. Coke Zero tastes like Coke which I don't like. Diet Coke is its own discreet thing. I don't like media and media item. It's so abstract. So to-dos, comments. I am gonna have an events table, but don't freak out.

**Aaron Francis:** I'm not doing event sourcing. I don't wanna do event sourcing. Daniel Colborn will have to convince me otherwise when he comes to Laracon. You look like a kid to me. Hey, that's great. I'll take it. I don't feel like a kid. Courses, articles. This is fine. This is totally fine.

**Aaron Francis:** Um, I think the move here is to create this and then when I hate it, change it. I don't know what we're yapping here for. Make podcast with, mm, mm, mm. Yeah, exactly. I'll be doing events. I'll be sourcing them, but if you dare call it event sourcing, you're out of here.

**Aaron Francis:** Um, all right. Let's do episode as well. So we're gonna create episode. Ah, F. Uh, episode with a migration, a factory, and a seeder. And we'll go ahead and do channel as well.

**Aaron Francis:** Oh, you know what else I need? Ooh, that's what else I need. So we're gonna do channel with a manuf- manufacturer, no. Migration factory and seed and then we need a video. Oh, guys, I can already feel my life getting better. Sometimes I get stressed out, you know? Sometimes I do.

**Aaron Francis:** Let's say we also want a transcript because I'm gonna transcribe all of this stuff Pineapple Coke? Yuck. That's a no from me, dog. No, thank you. One thing that I like to do, uh, I don't like all these, I don't like all these discrete migrations,

**Aaron Francis:** so we're gonna jump up to my first migration. God, I wish this iPad wouldn't go to sleep. Oh, I think I need to institute one of those, like, what are we working on today things, because now I see why people do that. Um, we're building, we're building a system to run my life for me.

**Aaron Francis:** I'm no longer in charge of my own life. The system is now in charge. Okay. All right, what are we saying here? What are you making? Account model for guest tagged users.

**Aaron Francis:** Oh, that's interesting. Man, Little Caesars with crazy bread. I used to crush so much Little Caesars. I am actually, I am actually gonna have a lot of AI in here. That's the hope, but not in a stupid way. If you think it's stupid, then that's not what I'm doing, and if I'm doing it, then it's not stupid.

**Aaron Francis:** Those are the rules. All right, episodes, channels, videos. I don't know why I'm writing a down migration. I don't even like down migrations. Ch-ch-ch-ch. Man, guys, this is awesome. I love streaming. Get this out of here.

**Aaron Francis:** I don't need that. Don't need that. Pod scan is very cool. Display brightness auto-lock never. All right, give me a second. Let me see. Uh, settings. Display brightness. Auto-lock two minutes, get out of here.

**Aaron Francis:** Never. Good job, chat. Why would you consolidate the migrations like that? 'Cause I want to. I just like it. Especially, like right in the beginning when, um, right in the beginning when everything is in flux, uh, I just like to be able to come to one place

**Aaron Francis:** to change everything. So we'll say table name. So here's the thing, table foreign ID. Can I make a foreign ID nullable? Yes, I can. Foreign ID, uh, what do I pass to that? Is that the one where I pass foreign ID big int?

**Aaron Francis:** Yep, yep, yep, yep. Foreign ID, uh, what's it called? Podcast ID. References, podcasts or do I pass a model? Uh, references ID on podcasts.

**Aaron Francis:** That seems right to me. This is PHP Storm. Elife OS. Hey, Robin is a moderator. I actually don't know who are moderators, um, but I'm glad Robin is one.

**Aaron Francis:** Robin's a good guy. Robin's a good egg. All right. Um, so I need some sort of like, uh, episode, episode name. I need a reference, like a media URL, and this could be audio or video.

**Aaron Francis:** Uh, ch-ch-ch-ch. I need a transcript ID 'cause I'm gonna transcribe it. Um, how is it, how does it work now? If you go to content and you go to... What do we wanna choose? Let's go to podcasts, guest appearances, and if you click on this...

**Aaron Francis:** Okay. All right. There's the, uh, that's the unique identifier at the end. Do we like that? Do we hate that? I kinda like that. Um, this is hideous. And then it comes down here, and then there's the transcript.

**Aaron Francis:** The transcript actually looks pretty good, I think. Um, this is awful. Uh, uh, um, I do think... Hmm, we'll just keep going. We'll just keep going. We'll figure it out. So we'll do table foreign ID, transcript ID.

**Aaron Francis:** See, I don't, I don't know if I like them foreign ID for. Do I like that? Maybe I should like that. That does feel better. Foreign ID for transcript. That is kinda cool, I guess. All right. All right. Yeah, that's kinda cool.

**Aaron Francis:** Podcast- Both of those actually should be nullable 'cause we might not have a transcript yet. So we'll, then we'll take this and I'll do table string name. Is that fine? Yeah, I think that's fine. You can hear the trucks in the background?

**Aaron Francis:** I don't know what they're doing. I think, I think they're actually, um, painting the apartment, which is incredibly annoying. Yeah, that's the thing is if I rename the model or move the model, it changes the database migration, which is insane to me.

**Aaron Francis:** Um, actually, if I rename the model, I'd have to rename the table anyway. It's fine. I don't care. I think I am gonna hand dig the pool. But, uh, no, I think I will probably, uh, uh, media URL.

**Aaron Francis:** I probably won't hand dig it myself. Well, I don't know. I don't know, I don't know, I don't know. Let's look at... Let's see if we can copy. Boy, I hope I don't show any, uh, keys over here.

**Aaron Francis:** What do we have? Discrete content tables. See video's here. That's, channel's just a string. See, but some of this stuff I don't like. External URL is good.

**Aaron Francis:** So for every podcast that I'm on, um, I store, every podcast that I'm on, I store the audio in S3 somewhere because I don't want, I don't want it to go away. Those primitive buil- building videos, I don't know what they're...

**Aaron Francis:** I can't get, I can't get my head around that. Um, all right, how much of this do we want? Uh, we do need a date. We want to name it something that makes a little more sense. Title is definitely better than name. Pinned, can I get away with pinned?

**Aaron Francis:** Do I care about pinned? Sure, we'll leave it. Uh, so we have title and pinned. Publish date I feel like should go up here. Maybe, uh, after title. Oh, they're all debunked? What's the story? External URL is, that's where we're gonna store it on S3.

**Aaron Francis:** What do you got, AJ? JSON file, that's gonna be on the transcript. Description, I will actually put up here. Show, no. Is host is gonna go on the podcast itself. You know what? I don't have to make it, um, I actually don't need to make this nullable.

**Aaron Francis:** I could just make a guest appearances show. Oh, but we decided the show title. Hmm, hmm, hmm. That'll be interesting. I don't know how to do that yet. What is a Life OS? It's something that's gonna automate my entire life. Let's see, uh, let's check, let's check the numbies.

**Aaron Francis:** Are people watching this? How would one tell? How does, how does one tell if people are watching? Is my bit rate too high again? How does one tell?

**Aaron Francis:** Oh, there are some numbers. Hey, there are people watching. Cool. 1.5K on Twitter? There's no way that's right. Um, well, that's too bad about the primitive pools. Since I'm Taylor's best friend, um...

**Aaron Francis:** Yeah, it's actually global. I have no idea, AJ. I'm sorry. I have no idea. All right, I think this is good. Um, actually, I'm gonna move this guy up and this guy down to here. I don't know, Lynn.

**Aaron Francis:** Is that, is that real? I have no idea. What was with the mic last time? No idea. Don't know. Just died. Um, so for a podcast, we're gonna have a, a name. We're gonna have a Boolean is host, which will default to one. Uh, I don't know if I like that actually. Um, we'll have a string of, uh, external URL, so like a link to the shows page.

**Aaron Francis:** Oh, I suppose that should be nullable if it's a guest. Boy, I gotta figure out this guest, I gotta figure out this guest podcast thing. Um, building an OS. Well, it's not really an OS No, I'm gonna use Vue with Inertia.

**Aaron Francis:** Everybody's, everybody's building everything in Filament. I'm gonna do something different. Boy, oh boy, what do I do with this guest host thing? We will decide later is what we're gonna do. Ta-da, we fixed it. Um, default to one. Yes. Yes. Yes. That's good enough.

**Aaron Francis:** Channels. Let's look to see what... Oh, here's something I can just yoink. That seems good. Let's come down to, did we create courses? Oh, we're not doing that yet. Talks, podcasts, videos. That's what I want. So if we plop this guy right here.

**Aaron Francis:** I did string IDs. I don't know if I'm gonna do string IDs again this time. Uh, publish_at isn't a timestamp, though. It's just a date. So I can get rid of that. And what did I name this one? I wanna keep this consistent this time. Published date, title, pinned, channel.

**Aaron Francis:** I think this is gonna be a foreign ID for channel. Channel. Um, gosh, it could be a guest video too, couldn't it? Wah. What do I do about this? Description, URL, timestamps. That's good. Uh, channels.

**Aaron Francis:** I gotta have table, string, name, and probably need an external URL. That's probably good. Yeah, it's definitely fake. Oh, we're building a system.

**Aaron Francis:** I gotta write this down somewhere. Where-- how do I do one of those like, "What are we working on today?" Um, maybe I should overlay it on Twitch somehow, or like on the video somehow. The reason I'm bouncing so much is I'm listening to Glass Animals, and they're just so good.

**Aaron Francis:** This is some sort of remix, and it's just so good. Use a sticky. A sticky where? All right. Is this good enough to migrate? Let's get into some real code. Um, we'll redo this a million times, I'm sure. S- s- s- s- s- name is host.

**Aaron Francis:** External URL, that's gonna be like the landing page. I do kinda feel like, I do kinda feel like I should put like a slug on there. Oh, we'll see. We'll add that later if we need to. Foreign ID. So every episode belongs to a podcast.

**Aaron Francis:** Title, description, published. There's a channel, which is completely opaque as to what a channel actually is. Um, but that's fine. We'll leave it as channel for now. Write it as a comment and then pin the comment in chat. That's interesting. I don't know if you can do that with Restream. On the videos, videos belong to a channel.

**Aaron Francis:** I feel like I should move that up. Videos belong to a channel. Where are we putting publish date? Title, description, publish. Let's do that again. Title. Do I need a description for video? I have one. Title, description, published. Do we have pinned? Um, why don't we do an is prefix?

**Aaron Francis:** If we're gonna is, if we're gonna is isHost, we should isIsPinned. Views is an integer string. Let's be consistent and call this external URL. Make a tower, shoot a bad guy.

**Aaron Francis:** That's a pretty good title. He's better at titling things than I am. Um, all right. Transcripts. What do transcripts look like? Um, the time at which I pinned it is not relevant information, so I don't need it. For something like is deleted, I would definitely do deleted at, um, but the time at which I pinned it, pinned it will never be relevant.

**Aaron Francis:** Um, let's do table JSON. It's gonna be a big old JSON blob because it's gonna come back from Deepgram as a big old JSON blob. Do I need anything else besides... I think I'm gonna start with just, I think I'm gonna start with just JSON.

**Aaron Francis:** Uh, um, um, um, that's fine. This is a weird model. I don't think that's gonna stay like that. I don't like that one bit. Yeah, Filament is very cool. I think Filament is incredibly powerful. Um, I am doing this in Vue because I want to.

**Aaron Francis:** This feels good to me. Um, question is, SQLite does have JSON functions. SQLite has a lot of JSON functions. They're all... That's one of the modules I still have to record. Um, I think we're good to go.

**Aaron Francis:** .env shouldn't contain any secrets yet. Does it? Does it? Does it? No. This is just default.env. Yeah. So you guys can see this. No, transcript does not, um.

**Aaron Francis:** Transcript does not because videos could have transcripts, so I need, um... A video can be transcribed also. Where do I wanna put that? Title, description, published, all feels good together. Yeah, end of the table is good.

**Aaron Francis:** For an ID for... Yeah, it's not gonna be just JSON forever, though. Um, this table will get better, but I don't know how yet. All right. Let's try, let's run this. AR migrate. I don't need to do fresh 'cause there's nothing in there. Yep.

**Aaron Francis:** Cool. Oh, isn't there a way to open the database in, just with Heard? Doesn't matter. Cool. Boom. Podcasts. All right. What do we do now? I need to... Hmm, hmm, hmm.

**Aaron Francis:** Yeah. Is it a morph? Who knows what a morph is? Who can even ever remember what a morph is? Um, a video can only have one transcript. Podcast. All right. So guarded.

**Aaron Francis:** Okay. Relationships and a podcast has many episodes. Turn this has_many episode. Okay. That's fine.

**Aaron Francis:** And then what? A channel. Oh, it, um, a podcast also has one transcript. Is it has one or belongs to one? Or belongs to, um, we'll find out. Boy, for somebody who's supposed to know stuff, I can never remember that one.

**Aaron Francis:** Mm, mm, mm. Oh, this freaking thing wants me to add return types, doesn't it? Ugh, so disgusting. Whatever. Whatever. Whatever. Belongs.

**Aaron Francis:** Thanks, Chris. I usually just end up, like, guessing and checking. Boy, assign and associate, those are two things I don't ever use for that very reason. Um, then we need to go to channel and, ah,

**Aaron Francis:** uh, has_many videos. This would be a good thing to factor out into a trait. We'll do that later. So here's what I normally do. Here's how I normally test this stuff.

**Aaron Francis:** Um, let's see if that's allowed. Yep, JSON object. Actually, SQLite will just take anything, won't it? Um, and then if we-

---

## Related on aaronfrancis.com

- [About](/about) *(Page · 2026-11-25 · shared: laravel)*
- [Now](/now) *(Page · 2026-11-25 · shared: laravel)*
- [Biggest Week In Laravel History](/podcast/biggest-week-in-laravel-history-cfbcddfa) *(Podcast · 2026-11-24 · shared: laravel)*
- [Oops!...Ian Did It Again](/podcast/oopsian-did-it-again-8cf7ed7d) *(Podcast · 2026-11-17 · shared: laravel)*
- [Where there is no vision, the people perish](/newsletter/where-there-is-no-vision) *(Newsletter · 2026-11-13 · shared: laravel)*

## Relevant Resources from Aaron Francis

- **[Solo](https://soloterm.com)** (overview on site: [/software](/software)): All-in-one agentic development platform and terminal workspace built by Aaron Francis for orchestrating processes and AI coding agents.
- **[Screencasting.com](https://screencasting.com)** (overview on site: [/courses](/courses)): Practical video course on recording high-quality technical screencasts, lighting, audio, studio setup, and publishing faster.

## Search aaronfrancis.com (2-Hop Static Keyword Index)

Pick the alphabetical shard matching any topic to find exact pages across all articles, newsletters, videos, talks, and podcast transcripts (every shard is < 40 KB):
[A-B](/llms/keywords/a-b.txt) · [C](/llms/keywords/c.txt) · [D-E](/llms/keywords/d-e.txt) · [F-G](/llms/keywords/f-g.txt) · [H-J](/llms/keywords/h-j.txt) · [K-L](/llms/keywords/k-l.txt) · [M-N](/llms/keywords/m-n.txt) · [O-P](/llms/keywords/o-p.txt) · [Q-R](/llms/keywords/q-r.txt) · [S](/llms/keywords/s.txt) · [T-Z](/llms/keywords/t-z.txt) · [Directory](/llms/keywords.txt) · [Site Map](/llms.txt)

Shards for this page's topics: `life os` ([K-L](/llms/keywords/k-l.txt)), `data modeling` ([D-E](/llms/keywords/d-e.txt)), `channels` ([C](/llms/keywords/c.txt)), `transcripts` ([T-Z](/llms/keywords/t-z.txt)).

## About Aaron Francis (Current Context)

Aaron Francis is VP of Marketing and Community at [Laravel](https://laravel.com), founder of [Try Hard Studios](https://tryhardstudios.com), creator of [Solo](https://soloterm.com), co-host of [Mostly Technical](/podcast), and author of [Mastering Postgres](/courses), [High Performance SQLite](/courses), [MySQL for Developers](/courses), and [Screencasting.com](/courses). Full bio: [/about](/about) · Current focus: [/now](/now).
