summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Witt <feuerrot@feuerrot.org>2019-04-13 16:56:15 +0200
committerMarkus Witt <feuerrot@feuerrot.org>2019-04-13 16:56:15 +0200
commit4bf62cf2a84f21cb9c2e562daa6aa235db528937 (patch)
tree9ee6f01129733df3023a1ddedf0dcf235f3f3d36
parent80a6317ac55de020f606a5ca114466d3f0100511 (diff)
fix dbschema: add type for edited
-rw-r--r--lib/Travelynx/Command/database.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Command/database.pm b/lib/Travelynx/Command/database.pm
index 352c890..a42d378 100644
--- a/lib/Travelynx/Command/database.pm
+++ b/lib/Travelynx/Command/database.pm
@@ -46,7 +46,7 @@ sub initialize_db {
action_id smallint not null,
station_id int references stations (id),
action_time timestamptz not null,
- edited not null,
+ edited smallint not null,
train_type varchar(16),
train_line varchar(16),
train_no varchar(16),