[Jifty-commit] r3450 - Jifty-DBI/trunk/t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Tue Jun 12 08:36:49 EDT 2007
Author: ruz
Date: Tue Jun 12 08:36:48 2007
New Revision: 3450
Modified:
Jifty-DBI/trunk/t/02records_object.t
Log:
* add schema for Oracle
Modified: Jifty-DBI/trunk/t/02records_object.t
==============================================================================
--- Jifty-DBI/trunk/t/02records_object.t (original)
+++ Jifty-DBI/trunk/t/02records_object.t Tue Jun 12 08:36:48 2007
@@ -102,6 +102,28 @@
+sub schema_oracle { [
+ "CREATE SEQUENCE employees_seq",
+ "CREATE TABLE employees (
+ id integer CONSTRAINT employees_key PRIMARY KEY,
+ Name varchar(36)
+ )",
+ "CREATE SEQUENCE phones_seq",
+ "CREATE TABLE phones (
+ id integer CONSTRAINT phones_key PRIMARY KEY,
+ employee integer NOT NULL,
+ phone varchar(18)
+ )",
+] }
+
+sub cleanup_schema_oracle { [
+ "DROP SEQUENCE employees_seq",
+ "DROP TABLE employees",
+ "DROP SEQUENCE phones_seq",
+ "DROP TABLE phones",
+] }
+
+
package TestApp::Employee;
BEGIN {
More information about the Jifty-commit
mailing list