mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
feat: annotate license headers using reuse on text source files
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_users (
|
||||
name VARCHAR(100) NOT NULL UNIQUE,
|
||||
email VARCHAR(100) UNIQUE DEFAULT NULL,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
-- TODO: changed key -> captcha_key
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_config (
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_levels (
|
||||
config_id INTEGER NOT NULL,
|
||||
difficulty_factor INTEGER NOT NULL,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_pow_fetched_stats (
|
||||
config_id INTEGER NOT NULL,
|
||||
time timestamp NOT NULL DEFAULT now(),
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_pow_solved_stats (
|
||||
config_id INTEGER NOT NULL,
|
||||
time timestamp NOT NULL DEFAULT now(),
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_pow_confirmed_stats (
|
||||
config_id INTEGER NOT NULL,
|
||||
time timestamp NOT NULL DEFAULT now(),
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
-- Add migration script here
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_notifications (
|
||||
id INT auto_increment,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
CREATE TABLE IF NOT EXISTS mcaptcha_sitekey_user_provided_avg_traffic (
|
||||
config_id INT NOT NULL,
|
||||
PRIMARY KEY(config_id),
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
ALTER TABLE mcaptcha_sitekey_user_provided_avg_traffic
|
||||
MODIFY avg_traffic INTEGER NOT NULL,
|
||||
MODIFY peak_sustainable_traffic INTEGER NOT NULL;
|
||||
|
||||
@@ -1,2 +1,6 @@
|
||||
-- SPDX-FileCopyrightText: 2023 Aravinth Manivannan <realaravinth@batsense.net>
|
||||
--
|
||||
-- SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
-- Add migration script here
|
||||
ALTER TABLE mcaptcha_notifications MODIFY heading varchar(100) NOT NULL;
|
||||
|
||||
Reference in New Issue
Block a user