ForestAdmin/lumber

View on GitHub
test-fixtures/postgres/rentals.sql

Summary

Maintainability
Test Coverage
CREATE TABLE rentals (
  car_no INT NOT NULL,
  from_date DATE NOT NULL,
  to_date DATE NOT NULL,
  FOREIGN KEY (car_no)  REFERENCES cars(id),
  PRIMARY KEY (car_no)
);