mirror of
https://github.com/discourse/discourse.git
synced 2024-12-04 06:13:43 +08:00
7c3a29c9d6
* Updates GitHub Actions * Switches from `bundler/inline` to an optional group in the `Gemfile` because the previous solution didn't work well with rspec * Adds the converter framework and tests * Allows loading private converters (see README) * Switches from multiple CLI tools to a single CLI * Makes DB connections reusable and adds a new abstraction for the `IntermediateDB` * `IntermediateDB` acts as an interface for IPC calls when a converter steps runs in parallel (forks). Only the main process writes to the DB. * Includes a simple example implementation of a converter for now.
37 lines
1.4 KiB
SQL
37 lines
1.4 KiB
SQL
/*
|
|
This file is auto-generated from the Discourse core database schema. Instead of editing it directly,
|
|
please update the `schema.yml` configuration file and re-run the `generate_schema` script to update it.
|
|
*/
|
|
|
|
CREATE TABLE users
|
|
(
|
|
id INTEGER NOT NULL PRIMARY KEY,
|
|
active BOOLEAN NOT NULL,
|
|
admin BOOLEAN NOT NULL,
|
|
approved BOOLEAN NOT NULL,
|
|
created_at DATETIME NOT NULL,
|
|
staged BOOLEAN NOT NULL,
|
|
trust_level INTEGER NOT NULL,
|
|
username TEXT NOT NULL,
|
|
views INTEGER NOT NULL,
|
|
approved_at DATETIME,
|
|
approved_by_id INTEGER,
|
|
date_of_birth DATE,
|
|
first_seen_at DATETIME,
|
|
flair_group_id INTEGER,
|
|
group_locked_trust_level INTEGER,
|
|
ip_address TEXT,
|
|
last_seen_at DATETIME,
|
|
locale TEXT,
|
|
manual_locked_trust_level INTEGER,
|
|
moderator BOOLEAN,
|
|
name TEXT,
|
|
previous_visit_at DATETIME,
|
|
primary_group_id INTEGER,
|
|
registration_ip_address TEXT,
|
|
silenced_till DATETIME,
|
|
suspended_at DATETIME,
|
|
suspended_till DATETIME,
|
|
title TEXT,
|
|
uploaded_avatar_id INTEGER
|
|
); |