Changeset View
Changeset View
Standalone View
Standalone View
swh/storage/cassandra/schema.py
Show First 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | CREATE_TABLES_QUERIES = [ | ||||
""" | """ | ||||
CREATE TYPE IF NOT EXISTS microtimestamp ( | CREATE TYPE IF NOT EXISTS microtimestamp ( | ||||
seconds bigint, | seconds bigint, | ||||
microseconds int, | microseconds int, | ||||
);""", | );""", | ||||
""" | """ | ||||
CREATE TYPE IF NOT EXISTS microtimestamp_with_timezone ( | CREATE TYPE IF NOT EXISTS microtimestamp_with_timezone ( | ||||
timestamp frozen<microtimestamp>, | timestamp frozen<microtimestamp>, | ||||
offset smallint, | |||||
negative_utc boolean, | |||||
offset_bytes blob, | offset_bytes blob, | ||||
);""", | );""", | ||||
""" | """ | ||||
CREATE TYPE IF NOT EXISTS person ( | CREATE TYPE IF NOT EXISTS person ( | ||||
fullname blob, | fullname blob, | ||||
name blob, | name blob, | ||||
email blob | email blob | ||||
);""", | );""", | ||||
▲ Show 20 Lines • Show All 269 Lines • Show Last 20 Lines |