From 02c1d33a3abbea959e7be7b9e6ff79eb17f3cea7 Mon Sep 17 00:00:00 2001 From: Keith Moss Date: Sun, 6 May 2018 16:26:37 +0800 Subject: [PATCH] Add date_published to EalgisMetadata and bump to 1.1.1 --- ealgis_data_schema/schema_v1.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ealgis_data_schema/schema_v1.py b/ealgis_data_schema/schema_v1.py index bcb2705..340a1c9 100644 --- a/ealgis_data_schema/schema_v1.py +++ b/ealgis_data_schema/schema_v1.py @@ -36,6 +36,7 @@ def make_uuid(): Column('uuid', String(36), nullable=False, default=make_uuid), Column('description', Text(), nullable=False), Column('date_created', DateTime(timezone=True), default=datetime.datetime.utcnow, nullable=False), + Column('date_published', DateTime(timezone=True), nullable=False), schema=schema_name)) tables.append(Table( "dependencies", metadata, diff --git a/setup.py b/setup.py index d0e7656..0d2123f 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ keywords="ealgis", url="https://github.com/ealgis/ealgis-data-schema", name="ealgis_data_schema", - version="1.1.0", + version="1.1.1", packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), install_requires=install_requires, )