diff options
| author | Fuwn <[email protected]> | 2020-10-26 19:03:53 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2020-10-26 19:03:53 -0700 |
| commit | 9742614a1dc4699c1f2c69d923d402237672335d (patch) | |
| tree | a49f7d834372f37cef06b30a28ff1b40bdfaa079 /migrations/2018-06-06-182436_create_timers | |
| parent | Create README.md (diff) | |
| download | dep-core-next-9742614a1dc4699c1f2c69d923d402237672335d.tar.xz dep-core-next-9742614a1dc4699c1f2c69d923d402237672335d.zip | |
repo: push main from local to remote
Diffstat (limited to 'migrations/2018-06-06-182436_create_timers')
| -rw-r--r-- | migrations/2018-06-06-182436_create_timers/down.sql | 1 | ||||
| -rw-r--r-- | migrations/2018-06-06-182436_create_timers/up.sql | 6 |
2 files changed, 7 insertions, 0 deletions
diff --git a/migrations/2018-06-06-182436_create_timers/down.sql b/migrations/2018-06-06-182436_create_timers/down.sql new file mode 100644 index 0000000..3532207 --- /dev/null +++ b/migrations/2018-06-06-182436_create_timers/down.sql @@ -0,0 +1 @@ +DROP TABLE timers; diff --git a/migrations/2018-06-06-182436_create_timers/up.sql b/migrations/2018-06-06-182436_create_timers/up.sql new file mode 100644 index 0000000..e915879 --- /dev/null +++ b/migrations/2018-06-06-182436_create_timers/up.sql @@ -0,0 +1,6 @@ +CREATE TABLE timers ( + id SERIAL PRIMARY KEY, + starttime BIGINT NOT NULL, + endtime BIGINT NOT NULL, + data TEXT NOT NULL +) |