Sha256: 06fe1189c1d7a631116ea4b5fd4748d3e613b05ebe1b31596016705e84c4d013

Contents?: true

Size: 617 Bytes

Versions: 2

Compression:

Stored size: 617 Bytes

Contents

BEGIN;

SELECT PLAN(6);

SELECT col_is_pk('dummy_landable', 'templates', 'template_id', 'Template_id is pk');
SELECT col_not_null('dummy_landable', 'templates', 'name', 'name is NOT NULL');
SELECT col_not_null('dummy_landable', 'templates', 'body', 'body is NOT NULL');
SELECT col_not_null('dummy_landable', 'templates', 'description', 'description is NOT NULL');

SELECT has_index('dummy_landable', 'templates', 'dummy_landable_templates__u_name', 'Index on name');
SELECT index_is_unique('dummy_landable', 'templates', 'dummy_landable_templates__u_name', 'name index is unique');

SELECT * FROM finish();

ROLLBACK;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landable-1.7.1.rc1 db/test/landable.templates.sql
landable-1.7.0 db/test/landable.templates.sql