I have 2 tables, `TemporaryData` and `Data`. Is th...
# orm-help
d
I have 2 tables,
TemporaryData
and
Data
. Is there an easy way to copy the rows from
TemporaryData
to the
Data
table? The model structure will be exactly the same
n
Hey 👋 You should be able to achieve it using Raw Query You can pass following SQL query to copy rows from one table to another.
Copy code
CREATE TABLE mycopy AS
SELECT * FROM mytable;