There was an error while loading. Please reload this page.
1 parent 6cea7e2 commit ec97dfbCopy full SHA for ec97dfb
tests/fixtures/mysql.sql
@@ -0,0 +1,7 @@
1
+CREATE TABLE accounts (
2
+ id INTEGER PRIMARY KEY AUTOINCREMENT,
3
+ created_at TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
4
+ name VARCHAR(255) NOT NULL,
5
+ is_active BOOLEAN,
6
+ score DOUBLE
7
+);
tests/fixtures/postgres.sql
@@ -0,0 +1,14 @@
+ id BIGSERIAL PRIMARY KEY,
+ created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(),
+ name TEXT NOT NULL,
+ score DOUBLE PRECISION
8
+
9
+-- https://www.postgresql.org/docs/current/rowtypes.html#ROWTYPES-DECLARING
10
+CREATE TYPE inventory_item AS (
11
+ name TEXT,
12
+ supplier_id INT,
13
+ price BIGINT
14
tests/fixtures/test-db.sqlite renamed to tests/fixtures/sqlite.sqlite
8 KB
0 commit comments