From 9f108dd1a969473375341d92a7b1252fa2cedc9a Mon Sep 17 00:00:00 2001
From: mszulecki
Date: Thu, 14 Jun 2007 17:09:01 +0000
Subject: Initial import.
git-svn-id: http://svn.sukimashita.com/repos/mailadmin/trunk@2 4281df72-ff29-0410-8fee-2d9ac0c5f5a7
---
config/config.php | 5 +++
config/databases.yml | 5 +++
config/generated-schema-transformed.xml | 2 +
config/propel.ini | 44 +++++++++++++++++++++
config/properties.ini | 2 +
config/rsync_exclude.txt | 4 ++
config/schema-transformed.xml | 2 +
config/schema.yml | 68 +++++++++++++++++++++++++++++++++
8 files changed, 132 insertions(+)
create mode 100644 config/config.php
create mode 100644 config/databases.yml
create mode 100644 config/generated-schema-transformed.xml
create mode 100644 config/propel.ini
create mode 100644 config/properties.ini
create mode 100644 config/rsync_exclude.txt
create mode 100644 config/schema-transformed.xml
create mode 100644 config/schema.yml
(limited to 'config')
diff --git a/config/config.php b/config/config.php
new file mode 100644
index 0000000..381af2c
--- /dev/null
+++ b/config/config.php
@@ -0,0 +1,5 @@
+
+
diff --git a/config/propel.ini b/config/propel.ini
new file mode 100644
index 0000000..92b813f
--- /dev/null
+++ b/config/propel.ini
@@ -0,0 +1,44 @@
+propel.targetPackage = lib.model
+propel.packageObjectModel = true
+propel.project = mailadmin
+propel.database = mysql
+propel.database.createUrl = mysql://user:password@localhost/
+propel.database.url = mysql://ruser:password@localhost/mailadmin
+
+propel.addGenericAccessors = true
+propel.addGenericMutators = true
+propel.addTimeStamp = false
+
+propel.schema.validate = false
+
+; directories
+propel.home = .
+propel.output.dir = /home/mszulecki/projects/mailadmin
+propel.schema.dir = ${propel.output.dir}/config
+propel.conf.dir = ${propel.output.dir}/config
+propel.phpconf.dir = ${propel.output.dir}/config
+propel.sql.dir = ${propel.output.dir}/data/sql
+propel.runtime.conf.file = runtime-conf.xml
+propel.php.dir = ${propel.output.dir}
+propel.default.schema.basename = schema
+propel.datadump.mapper.from = *schema.xml
+propel.datadump.mapper.to = *data.xml
+
+; builder settings
+propel.builder.peer.class = addon.propel.builder.SfPeerBuilder
+propel.builder.object.class = addon.propel.builder.SfObjectBuilder
+
+propel.builder.objectstub.class = addon.propel.builder.SfExtensionObjectBuilder
+propel.builder.peerstub.class = addon.propel.builder.SfExtensionPeerBuilder
+propel.builder.objectmultiextend.class = addon.propel.builder.SfMultiExtendObjectBuilder
+propel.builder.mapbuilder.class = addon.propel.builder.SfMapBuilderBuilder
+propel.builder.interface.class = propel.engine.builder.om.php5.PHP5InterfaceBuilder
+propel.builder.node.class = propel.engine.builder.om.php5.PHP5NodeBuilder
+propel.builder.nodepeer.class = propel.engine.builder.om.php5.PHP5NodePeerBuilder
+propel.builder.nodestub.class = propel.engine.builder.om.php5.PHP5ExtensionNodeBuilder
+propel.builder.nodepeerstub.class = propel.engine.builder.om.php5.PHP5ExtensionNodePeerBuilder
+
+propel.builder.addIncludes = false
+propel.builder.addComments = false
+
+propel.builder.addBehaviors = false
diff --git a/config/properties.ini b/config/properties.ini
new file mode 100644
index 0000000..be28321
--- /dev/null
+++ b/config/properties.ini
@@ -0,0 +1,2 @@
+[symfony]
+ name=mailadmin
diff --git a/config/rsync_exclude.txt b/config/rsync_exclude.txt
new file mode 100644
index 0000000..4b76ea8
--- /dev/null
+++ b/config/rsync_exclude.txt
@@ -0,0 +1,4 @@
+.svn
+/web/uploads/*
+/cache/*
+/log/*
diff --git a/config/schema-transformed.xml b/config/schema-transformed.xml
new file mode 100644
index 0000000..ea51a55
--- /dev/null
+++ b/config/schema-transformed.xml
@@ -0,0 +1,2 @@
+
+
diff --git a/config/schema.yml b/config/schema.yml
new file mode 100644
index 0000000..58f0f72
--- /dev/null
+++ b/config/schema.yml
@@ -0,0 +1,68 @@
+propel:
+ role:
+ _attributes: { phpName: Role }
+ id:
+ name: varchar(255)
+ credentials: varchar(255)
+
+ user:
+ _attributes: { phpName: User }
+ id:
+ parent_user_id: { type: integer, default: -1, foreignTable: user, foreignReference: id, onDelete: setnull }
+ nickname: varchar(50)
+ first_name: varchar(100)
+ last_name: varchar(100)
+ email: varchar(255)
+ sha1_password: varchar(40)
+ salt: varchar(32)
+ role_id:
+ last_login: timestamp
+ created_at:
+
+ domain_permission:
+ _attributes: { phpName: DomainPermission }
+ user_id: { type: integer, foreignTable: user, foreignReference: id, onDelete: cascade }
+ domain_id: { type: integer, foreignTable: domain, foreignReference: id, onDelete: cascade }
+
+ domain:
+ _attributes: { phpName: Domain }
+ id:
+ name: varchar(255)
+ creator_id: { type: integer, foreignTable: user, foreignReference: id, onDelete: setnull }
+ mailbox_prefix: varchar(255)
+ max_mailbox_count: integer
+ quota: integer
+ default_mailbox_quota: integer
+ _uniques:
+ i2: [name]
+
+ mailbox:
+ _attributes: { phpName: Mailbox }
+ id:
+ domain_id: { type: integer, foreignTable: domain, foreignReference: id, onDelete: setnull }
+ name: varchar(30)
+ password: varchar(40)
+ max_quota: integer
+ max_address_count: integer
+ last_login: timestamp
+ active: { type: boolean, default: true }
+
+ address:
+ _attributes: { phpName: Address }
+ id:
+ mailbox_id: { type: integer, foreignTable: mailbox, foreignReference: id, onDelete: cascade }
+ localpart: varchar(255)
+ domain_id:
+ alias: varchar(255)
+ destination: longvarchar
+ active: { type: boolean, default: true }
+ save_in_mailbox: { type: boolean, default: true }
+
+ log:
+ _attributes: { phpName: LogEntry }
+ id:
+ user_id: { type: integer, default: null, foreignTable: user, foreignReference: id, onDelete: setnull }
+ created_at:
+ message: longvarchar
+ host: varchar(255)
+ priority: integer
--
cgit v1.1-32-gdbae