summaryrefslogtreecommitdiff
path: root/boardvoting
diff options
context:
space:
mode:
authorJan Dittberner <jandd@cacert.org>2019-07-31 17:30:58 +0200
committerJan Dittberner <jandd@cacert.org>2019-07-31 17:30:58 +0200
commit29a7a1c90c34c1ac5eadfa2d94a2864cfd8b3ece (patch)
tree033d6cb2290baa77164ae3ca620f71301497c2d9 /boardvoting
parenteaced9af064ba8f0e178b4bb86b8be27429f8c34 (diff)
downloadcacert-boardvoting-29a7a1c90c34c1ac5eadfa2d94a2864cfd8b3ece.tar.gz
cacert-boardvoting-29a7a1c90c34c1ac5eadfa2d94a2864cfd8b3ece.tar.xz
cacert-boardvoting-29a7a1c90c34c1ac5eadfa2d94a2864cfd8b3ece.zip
Apply Apache License 2.0
Diffstat (limited to 'boardvoting')
-rw-r--r--boardvoting/main.go15
-rw-r--r--boardvoting/migrations/20170421134856_0.1.0_original.sql15
-rw-r--r--boardvoting/migrations/20170421143052_fix_duplicates.sql15
-rw-r--r--boardvoting/migrations/20170421143114_add_constraints.sql16
4 files changed, 61 insertions, 0 deletions
diff --git a/boardvoting/main.go b/boardvoting/main.go
index 7cc6005..718276e 100644
--- a/boardvoting/main.go
+++ b/boardvoting/main.go
@@ -1,3 +1,18 @@
+/*
+ Copyright 2017-2019 Jan Dittberner
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this program except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
package boardvoting
//go:generate go-bindata -pkg $GOPACKAGE -o assets.go ./migrations/... ./static/... ./templates/...
diff --git a/boardvoting/migrations/20170421134856_0.1.0_original.sql b/boardvoting/migrations/20170421134856_0.1.0_original.sql
index fae8391..5fa3800 100644
--- a/boardvoting/migrations/20170421134856_0.1.0_original.sql
+++ b/boardvoting/migrations/20170421134856_0.1.0_original.sql
@@ -1,3 +1,18 @@
+/*
+ Copyright 2017-2019 Jan Dittberner
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this program except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
-- +migrate Up
-- SQL in section 'Up' is executed when this migration is applied
diff --git a/boardvoting/migrations/20170421143052_fix_duplicates.sql b/boardvoting/migrations/20170421143052_fix_duplicates.sql
index 80d2ff2..bb207a3 100644
--- a/boardvoting/migrations/20170421143052_fix_duplicates.sql
+++ b/boardvoting/migrations/20170421143052_fix_duplicates.sql
@@ -1,3 +1,18 @@
+/*
+ Copyright 2017-2019 Jan Dittberner
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this program except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
-- +migrate Up
-- SQL in section 'Up' is executed when this migration is applied
diff --git a/boardvoting/migrations/20170421143114_add_constraints.sql b/boardvoting/migrations/20170421143114_add_constraints.sql
index 2fc969e..6f7e823 100644
--- a/boardvoting/migrations/20170421143114_add_constraints.sql
+++ b/boardvoting/migrations/20170421143114_add_constraints.sql
@@ -1,3 +1,19 @@
+/*
+ Copyright 2017-2019 Jan Dittberner
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this program except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
-- +migrate Up
-- SQL in section 'Up' is executed when this migration is applied
CREATE TABLE voters_new (