summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@chaosdorf.de>2019-04-13 17:00:40 +0200
committerGitHub <noreply@github.com>2019-04-13 17:00:40 +0200
commit6dc92bd88a78d4ab427af407d838d011c52456e2 (patch)
tree9ee6f01129733df3023a1ddedf0dcf235f3f3d36
parent80a6317ac55de020f606a5ca114466d3f0100511 (diff)
parent4bf62cf2a84f21cb9c2e562daa6aa235db528937 (diff)
Merge pull request #7 from feuerrot/db_schema_fix
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),