Sha256: c0372a15b5d54e186f0adc36fa5fc55fc61ad7660d0476d378a526407c875553

Contents?: true

Size: 421 Bytes

Versions: 2

Compression:

Stored size: 421 Bytes

Contents

create_table_queue: >
  CREATE TABLE IF NOT EXISTS queue(
    id TEXT PRIMARY KEY NOT NULL ON CONFLICT REPLACE,
    name TEXT NOT NULL ON CONFLICT REPLACE,
    fire_at INTEGER NOT NULL ON CONFLICT REPLACE,
    value TEXT,
    created_at INTEGER DEFAULT(UNIXEPOCH()) NOT NULL ON CONFLICT REPLACE
  ) WITHOUT ROWID;

create_index_queue_by_name: >
  CREATE INDEX IF NOT EXISTS idx_queue_by_name ON queue(name, fire_at ASC);

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
litequeue-0.2.1 lib/litequeue/migrations.sql.yml
litequeue-0.2.0 lib/litequeue/migrations.sql.yml