summaryrefslogtreecommitdiffstats
path: root/includes/admin
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-09-16 20:34:35 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-09-16 20:34:35 +0200
commit517bcd562df96e48d320f19cb3c11eea7b6c641c (patch)
tree15d0c22fb69e4ca5270eda454e98c65385a1f34c /includes/admin
parent719d64e7eeb752573109f418c8c8a1f1c65bbf37 (diff)
downloadgigologadmin-517bcd562df96e48d320f19cb3c11eea7b6c641c.tar.gz
gigologadmin-517bcd562df96e48d320f19cb3c11eea7b6c641c.tar.bz2
gigologadmin-517bcd562df96e48d320f19cb3c11eea7b6c641c.zip
Reinsert created and updated columns for venues.
Was accidentally dropped during rewrite of base schema.
Diffstat (limited to 'includes/admin')
-rw-r--r--includes/admin/register_db_tables.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/admin/register_db_tables.php b/includes/admin/register_db_tables.php
index 10875d9..5ab42c7 100644
--- a/includes/admin/register_db_tables.php
+++ b/includes/admin/register_db_tables.php
@@ -56,6 +56,8 @@ if ( !function_exists( "giglog_register_db_tables") )
`wpgvenue_city` VARCHAR(250) DEFAULT NULL,
`wpgvenue_address` VARCHAR(2000) DEFAULT NULL,
`wpgvenue_webpage` VARCHAR(200) DEFAULT NULL,
+ `created` TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
+ `updated` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;";