16 lines
725 B
MySQL
16 lines
725 B
MySQL
|
ALTER TABLE users RENAME TO people;
|
||
|
ALTER TABLE IF EXISTS users RENAME TO people;
|
||
|
ALTER TABLE users ADD COLUMN zip varchar;
|
||
|
ALTER TABLE IF EXISTS users ADD COLUMN IF NOT EXISTS zip varchar;
|
||
|
ALTER TABLE users DROP COLUMN zip;
|
||
|
ALTER TABLE IF EXISTS users DROP COLUMN IF EXISTS zip;
|
||
|
ALTER TABLE users RENAME COLUMN id TO user_id;
|
||
|
ALTER TABLE IF EXISTS users RENAME column IF EXISTS id to user_id;
|
||
|
ALTER TABLE people SET AUTHORIZATION alice;
|
||
|
ALTER TABLE people SET AUTHORIZATION ROLE PUBLIC;
|
||
|
ALTER TABLE people SET PROPERTIES x = 'y';
|
||
|
ALTER TABLE people SET PROPERTIES foo = 123, "foo bar" = 456;
|
||
|
ALTER TABLE people SET PROPERTIES x = DEFAULT;
|
||
|
ALTER TABLE hive.schema.test_table EXECUTE optimize(file_size_threshold => '10MB');
|
||
|
|