Import .db file and work from that database #3417
Unanswered
tiagoggdev
asked this question in
Q&A
Replies: 1 comment
-
So essentially if I understood you correctly, you have an existing database file and no existing database code, right? And now you want drift to generate code based on tables defined in that database file? There's no builtin option that does all of that, but you can open the database on the command line using Then, you can use this setup to define a drift database following the schema from your database. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, first sorry for my english, I need help
I have a .db file in my directory and I need import this db for i need import get and update data from my tables.
Basically I don't need to create my database with code but rather adapt the code for an already created database, something like that a database first model.
I didn't find any information in the documentation on how to import a database file, somebody can tell me if its can do it?
Beta Was this translation helpful? Give feedback.
All reactions