1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-20 20:40:56 +01:00
phorge-phorge/resources/sql/patches/121.drydocklog.sql
epriestley 914f044b62 More Drydock Stuff
Summary:
  - Still really really rough.
  - Adds a full synchronous mode for debugging.
  - Adds some logging.
  - It can now allocate EC2 machines and put webroots on them in a hacky, terrible way.
  - Adds a base query class.

Test Plan: oh hey look a test page? http://ec2-50-18-65-151.us-west-1.compute.amazonaws.com:2011/

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, epriestley

Maniphest Tasks: T1049

Differential Revision: https://secure.phabricator.com/D2026
2012-03-26 20:54:26 -07:00

10 lines
344 B
SQL

CREATE TABLE phabricator_drydock.drydock_log (
id INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
resourceID INT UNSIGNED,
leaseID INT UNSIGNED,
epoch INT UNSIGNED NOT NULL,
message LONGTEXT COLLATE utf8_general_ci NOT NULL,
KEY (resourceID, epoch),
KEY (leaseID, epoch),
KEY (epoch)
) ENGINE=InnoDB, COLLATE utf8_general_ci;