Skip to content

Commit

Permalink
remove old comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Jul 19, 2023
1 parent 41fd976 commit 92fe28b
Show file tree
Hide file tree
Showing 28 changed files with 0 additions and 700 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
25 changes: 0 additions & 25 deletions exercises/02.accessibility/02.problem.aria/app/utils/db.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
25 changes: 0 additions & 25 deletions exercises/02.accessibility/02.solution.aria/app/utils/db.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
25 changes: 0 additions & 25 deletions exercises/02.accessibility/03.problem.focus/app/utils/db.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@ import { singleton } from './singleton.server.ts'

const getId = () => crypto.randomBytes(16).toString('hex').slice(0, 8)

/*
model File {
id String @id @unique @default(cuid())
blob Bytes
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
image Image?
}
model Image {
file File @relation(fields: [fileId], references: [id], onDelete: Cascade, onUpdate: Cascade)
fileId String @unique
contentType String
altText String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User?
}
*/

export const db = singleton('db', () => {
const db = factory({
user: {
Expand Down
Loading

0 comments on commit 92fe28b

Please sign in to comment.