Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
cortze committed Sep 19, 2023
1 parent f71ab2b commit e705fcc
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions psql/init_test_db.sql
Original file line number Diff line number Diff line change
@@ -1,20 +1,3 @@
-- Create custom tables for the testing
CREATE TABLE IF NOT EXISTS test_table(
id INT,
text_col TEXT,
attribute_col TEXT,
bool_col BOOL,
-- Create default database for testing:
CREATE DATABASE test_database;

PRIMARY KEY(id));

-- Insert dummy data into test_table
INSERT INTO test_table(
id,
text_col,
attribute_col,
bool_col)
VALUES
(1, 'first', 'attr_1', false),
(2, 'second', null, true),
(3, 'third', 'attr_1', false),
(4, 'fourth', 'attr_3', true);

0 comments on commit e705fcc

Please sign in to comment.