Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions integration-tests/testdata/gaussdb/opengauss_init.sql
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ CREATE TABLE simple_table (

INSERT INTO simple_table VALUES (1, 'Tom'), (2, 'Jerry'), (3, 'Spike');

CREATE TABLE empty_table (
id INT PRIMARY KEY,
name VARCHAR(255) NOT NULL
);


CREATE TABLE insert_supported_data_types (
smallint_col SMALLINT,
Expand Down Expand Up @@ -89,6 +94,11 @@ CREATE TABLE insert_supported_data_types (
uuid_col UUID
);

CREATE TABLE insert_table_with_primary_key (
id SERIAL PRIMARY KEY,
name VARCHAR(255)
);


CREATE TABLE timestamp_test (
timestamp_col TIMESTAMP,
Expand All @@ -108,3 +118,4 @@ INSERT INTO timestamp_test VALUES
(NULL, NULL, NULL, NULL, NULL);

GRANT ALL ON ALL TABLES IN SCHEMA public TO gaussdb;
GRANT ALL ON ALL SEQUENCES IN SCHEMA public TO gaussdb;
Loading
Loading