File: DBICTest-Schema-1.x-SQLite.sql

package info (click to toggle)
libdbix-class-perl 0.082840-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,268 kB
  • ctags: 1,971
  • sloc: perl: 26,777; sql: 322; makefile: 10
file content (11 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
--
-- This table line should not be skipped
--
CREATE TABLE artist (
  artistid INTEGER PRIMARY KEY NOT NULL,
  name varchar(100),
  rank integer NOT NULL DEFAULT 13,
  charfield char(10)
);

CREATE INDEX artist_name_hookidx ON artist (name); -- This line should error if artist was not parsed correctly