We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support 'copy' command.
Actually, cassandra doesn't support rename table name, and to rename a table we need:
Example: -- description: recreate foobar table -- authoredAt: lucasoliveiracampos -- up:
-- stage: 1 copy foobar to 'foobar_2017_08_19_11_17_00_data.csv';
-- stage: 2 drop table foobar;
-- stage: 3 create table foobar ( foo text, bar bigint, primary key ((foo)) );
-- stage: 4 copy foobar from 'foobar_2017_08_19_11_17_00_data.csv';
-- down:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Support 'copy' command.
Actually, cassandra doesn't support rename table name, and to rename a table we need:
Example:
-- description: recreate foobar table
-- authoredAt: lucasoliveiracampos
-- up:
-- stage: 1
copy foobar to 'foobar_2017_08_19_11_17_00_data.csv';
-- stage: 2
drop table foobar;
-- stage: 3
create table foobar (
foo text,
bar bigint,
primary key ((foo))
);
-- stage: 4
copy foobar from 'foobar_2017_08_19_11_17_00_data.csv';
-- down:
The text was updated successfully, but these errors were encountered: