drizzle-team / drizzle-team/drizzle-orm

`introspect:mysql` ignores cloned tables

Open
#3,301 2 comments 0 reactions 0 assignees View on GitHub
db/mysql drizzle/kit enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

With MySQL you can create different tables but as clones from others and without redeclaring the same columns, e.g.
```sql
CREATE TABLE drafts AS
SELECT
*
FROM
posts
WHERE
1 = 0;
```
...which is ignored by drizzle-kit

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.