mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
8 lines
271 B
MySQL
8 lines
271 B
MySQL
|
DROP TABLE IF EXISTS encryption_test;
|
||
|
CREATE TABLE encryption_test (i Int, s String Codec(Encrypted('AES-128-GCM-SIV'))) ENGINE = MergeTree ORDER BY i;
|
||
|
|
||
|
INSERT INTO encryption_test VALUES (1, 'Some plaintext');
|
||
|
SELECT * FROM encryption_test;
|
||
|
|
||
|
DROP TABLE encryption_test;
|