This commit is contained in:
Wade Wegner 2017-09-13 12:09:22 +02:00
Родитель b4094139e3
Коммит e084062ecc
3 изменённых файлов: 33 добавлений и 4 удалений

2
app.js
Просмотреть файл

@ -22,8 +22,6 @@ require('./lib/app-router')(router);
app.use('/api', router);
const port = process.env.PORT || 8443;
// if local, use 8443 and certificate

31
assets/deployments.sql Normal file
Просмотреть файл

@ -0,0 +1,31 @@
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SET check_function_bodies = false;
SET client_min_messages = warning;
SET row_security = off;
SET search_path = public, pg_catalog;
SET default_tablespace = '';
SET default_with_oids = false;
CREATE TABLE deployments (
id integer NOT NULL,
username text,
created_at timestamp without time zone DEFAULT now(),
repo text
);
CREATE SEQUENCE deployments_id_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
ALTER SEQUENCE deployments_id_seq OWNED BY deployments.id;
ALTER TABLE ONLY deployments ALTER COLUMN id SET DEFAULT nextval('deployments_id_seq'::regclass);
ALTER TABLE ONLY deployments
ADD CONSTRAINT deployments_pkey PRIMARY KEY (id);

Просмотреть файл

@ -1,8 +1,8 @@
<p style="height:20px;"/>
<div class="slds-text-align_center sfdx-note sfdx-slim slds-m-top_large" style="top:10px;">
Written and shared by <a href="https://twitter.com/WadeWegner" target="_blank">Wade Wegner</a> under Apache 2.0 License.
Written and shared by <a href="https://twitter.com/WadeWegner" target="_blank">Wade Wegner</a> under Apache 2.0 License and available at <a href="https://github.com/wadewegner/deploy-to-sfdx" target="_blank">https://github.com/wadewegner/deploy-to-sfdx</a>.
User experience designed by <a href="https://www.linkedin.com/in/bencsnyder/" target="_blank">Ben Snyder</a>.
Contributions from <a href="https://twitter.com/andyinthecloud" target="_blank">Andrew Fawcett</a>.
Contributions from <a href="https://twitter.com/andyinthecloud" target="_blank">Andrew Fawcett</a>.
</div>
</body>