Rename logs table
This commit is contained in:
parent
c6b3d3d5ca
commit
15d46c7f81
@ -85,11 +85,11 @@ CREATE TABLE user_sessions (
|
||||
CREATE INDEX user_sessions_expire_idx on user_sessions ( expire );
|
||||
|
||||
--
|
||||
-- Log table
|
||||
-- Logs table
|
||||
--
|
||||
-- To store all changes to building data, recording users and change in data
|
||||
-- over time.
|
||||
CREATE TABLE log (
|
||||
CREATE TABLE logs (
|
||||
-- integer for internal unique id
|
||||
log_id bigserial PRIMARY KEY,
|
||||
-- default timestamp to time now
|
||||
|
@ -1,5 +1,5 @@
|
||||
-- Drop all tables
|
||||
DROP TABLE IF EXISTS log;
|
||||
DROP TABLE IF EXISTS logs;
|
||||
DROP TABLE IF EXISTS users;
|
||||
DROP TABLE IF EXISTS user_sessions;
|
||||
DROP TABLE IF EXISTS user_categories;
|
||||
|
Loading…
Reference in New Issue
Block a user