Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Poduptime
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
diasporg
Poduptime
Commits
af9ec629
Unverified
Commit
af9ec629
authored
Jan 11, 2017
by
dmorley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add sql updates
parent
7626b2a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
+40
-0
db/migration00001.sql
db/migration00001.sql
+36
-0
db/version.md
db/version.md
+4
-0
No files found.
db/migration00001.sql
0 → 100644
View file @
af9ec629
ALTER
TABLE
pods
ADD
terms
text
,
ADD
sslexpire
timestamp
,
ADD
uptime_custom
text
,
ADD
dnssec
boolean
,
ADD
masterversion
text
,
ADD
shortversion
text
;
ALTER
TABLE
pods
DROP
Hgitdate
,
DROP
Hgitref
,
DROP
Hruntime
,
DROP
Hencoding
,
DROP
longversion
,
DROP
ptr
,
DROP
whois
,
DROP
postalcode
,
DROP
connection
,
DROP
pingdomlast
;
ALTER
TABLE
pods
RENAME
COLUMN
pingdomurl
TO
statsurl
;
ALTER
TABLE
pods
RENAME
COLUMN
xmpp
TO
service_xmpp
;
ALTER
TABLE
pods
RENAME
COLUMN
uptimelast7
TO
uptime_alltime
;
ALTER
TABLE
pods
RENAME
COLUMN
responsetimelast7
TO
responsetimems
;
ALTER
TABLE
pods
ALTER
COLUMN
ipv6
TYPE
boolean
USING
ipv6
::
boolean
;
ALTER
TABLE
pods
ALTER
hidden
DROP
DEFAULT
;
ALTER
TABLE
pods
ALTER
COLUMN
hidden
TYPE
boolean
USING
hidden
::
boolean
;
ALTER
TABLE
pods
ALTER
COLUMN
secure
TYPE
boolean
USING
secure
::
boolean
;
ALTER
TABLE
pods
ALTER
COLUMN
signup
TYPE
boolean
USING
signup
::
boolean
;
DROP
TABLE
users
;
CREATE
TABLE
apikeys
(
key
text
,
email
text
,
usage
int
,
dateCreated
timestamp
DEFAULT
current_timestamp
);
CREATE
TABLE
clicks
(
domain
text
,
manualclick
int
,
autoclick
int
,
dateClicked
timestamp
DEFAULT
current_timestamp
);
CREATE
TABLE
checks
(
domain
text
,
online
boolean
,
error
text
,
dateChecked
timestamp
DEFAULT
current_timestamp
);
db/version.md
0 → 100644
View file @
af9ec629
If new install import tables.sql
If upgrading migrations are:
migration00001.sql
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment