Commit 7bae8df8 by Harsh Shah

Finish Release-Phase-3.1

# Conflicts:
#	cmsWebApp/src/performa/form/CompleteApplicationFP.java
parents 3de04709 c6903bf7
......@@ -9,10 +9,29 @@
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="template_name" type="String" nullable="true" length="100"/>
<column name="user_id" type="Long" length="11" nullable="true"/>
<column name="job_title" type="String" nullable="false" length="30"/>
<column name="job_description" type="CLOB" nullable="false"/>
<column name="ref_number" type="String" nullable="true" length="10"/>
<column name="google_address_text" type="String" nullable="true" length="300"/>
<column name="location_radius" type="String" nullable="false" length="200"/>
<column name="remote" type="Boolean" nullable="true"/>
<column name="job_type" type="String" nullable="false" length="200"/>
<column name="industry" type="String" nullable="true" length="200"/>
<column name="require_cv" type="Boolean" nullable="true"/>
<column name="assessment_type" type="String" nullable="false" length="200"/>
<column name="include_assessment_criteria" type="Boolean" nullable="false"/>
<column name="level_id" type="Long" length="11" nullable="true"/>
<column name="occupation_id" type="Long" length="11" nullable="false"/>
<column name="job_owner_id" type="Long" length="11" nullable="true"/>
<column name="job_id" type="Long" length="11" nullable="true"/>
<column name="client_id" type="Long" length="11" nullable="true"/>
<column name="hiring_team_id" type="Long" length="11" nullable="true"/>
<column name="company_user_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_assessment_template" indexName="idx_tl_assessment_template_TemplateName" isUnique="true"><column name="template_name"/><column name="user_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_assessment_template" indexName="idx_tl_assessment_template_TemplateID" isUnique="true"><column name="template_name"/><column name="hiring_team_id"/><column name="company_user_id"/></NODE>
......
......@@ -15,6 +15,7 @@
<column name="verification_mail_send_date" type="Date" nullable="true"/>
<column name="verification_key" type="String" nullable="true" length="10"/>
<column name="is_account_verified" type="Boolean" nullable="true"/>
<column name="google_address_text" type="String" nullable="true" length="300"/>
<column name="test_input_id" type="Long" length="11" nullable="true"/>
<column name="user_id" type="Long" length="11" nullable="true"/>
</NODE>
......
......@@ -8,7 +8,7 @@
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="client_name" type="String" nullable="false" length="100"/>
<column name="client_name" type="String" nullable="false" length="30"/>
<column name="client_logo" type="BLOB" nullable="true"/>
<column name="email" type="String" nullable="true" length="100"/>
<column name="contact_name" type="String" nullable="true" length="100"/>
......@@ -19,9 +19,12 @@
<column name="post_code" type="String" nullable="true" length="10"/>
<column name="city" type="String" nullable="true" length="100"/>
<column name="time_zone" type="String" nullable="true" length="200"/>
<column name="company_id" type="Long" length="11" nullable="false"/>
<column name="hiring_team_id" type="Long" length="11" nullable="false"/>
<column name="company_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_client" indexName="idx_tl_client_hiring_team_id" isUnique="false"><column name="hiring_team_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_client" indexName="idx_tl_client_company_id" isUnique="false"><column name="company_id"/></NODE>
</NODE></OBJECTS>
\ No newline at end of file
......@@ -21,7 +21,13 @@
<column name="has_client_support" type="Boolean" nullable="true"/>
<column name="stripe_reference" type="String" nullable="true" length="100"/>
<column name="stripe_subscription" type="String" nullable="true" length="100"/>
<column name="name_on_card" type="String" nullable="true" length="100"/>
<column name="card_post_code" type="String" nullable="true" length="10"/>
<column name="card_id" type="String" nullable="true" length="100"/>
<column name="plan_renewed_on" type="Date" nullable="true"/>
<column name="used_credits" type="Long" nullable="true"/>
<column name="added_by_user_id" type="Long" length="11" nullable="false"/>
<column name="payment_plan_id" type="Long" length="11" nullable="true"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
......@@ -18,8 +18,10 @@
<column name="verification_key" type="String" nullable="true" length="10"/>
<column name="is_account_verified" type="Boolean" nullable="true"/>
<column name="is_email_changed" type="Boolean" nullable="true"/>
<column name="is_disabled" type="Boolean" nullable="true"/>
<column name="user_id" type="Long" length="11" nullable="true"/>
<column name="company_id" type="Long" length="11" nullable="true"/>
<column name="default_hiring_team_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="oneit_sec_user_extension" indexName="idx_oneit_sec_user_extension_user_id" isUnique="false"><column name="user_id"/></NODE>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">tl_company_user_hiring_team_link</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="role_type" type="String" nullable="false" length="200"/>
<column name="hiring_team_id" type="Long" length="11" nullable="true"/>
<column name="company_user_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_company_user_hiring_team_link" indexName="idx_tl_company_user_hiring_team_link_hiring_team_id" isUnique="false"><column name="hiring_team_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_company_user_hiring_team_link" indexName="idx_tl_company_user_hiring_team_link_company_user_id" isUnique="false"><column name="company_user_id"/></NODE>
</NODE></OBJECTS>
\ No newline at end of file
......@@ -8,7 +8,8 @@
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="importance" type="String" nullable="false" length="200"/>
<column name="importance" type="String" nullable="true" length="200"/>
<column name="is_applicable" type="Boolean" nullable="true"/>
<column name="culture_element_id" type="Long" length="11" nullable="false"/>
<column name="culture_element_rating_id" type="Long" length="11" nullable="true"/>
<column name="job_id" type="Long" length="11" nullable="true"/>
......
......@@ -9,10 +9,15 @@
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="template_name" type="String" nullable="true" length="100"/>
<column name="user_id" type="Long" length="11" nullable="true"/>
<column name="culture_statement" type="String" nullable="true" length="2000"/>
<column name="client_id" type="Long" length="11" nullable="true"/>
<column name="hiring_team_id" type="Long" length="11" nullable="true"/>
<column name="company_user_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_culture_template" indexName="idx_tl_culture_template_TemplateName" isUnique="true"><column name="template_name"/><column name="user_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_culture_template" indexName="idx_tl_culture_template_TemplateID" isUnique="true"><column name="template_name"/><column name="hiring_team_id"/><column name="company_user_id"/></NODE>
......
......@@ -9,6 +9,7 @@
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="culture_element_desc" type="String" nullable="true" length="200"/>
<column name="detailed_desc" type="String" nullable="true" length="2000"/>
<column name="culture_class_code" type="String" nullable="true" length="200"/>
</NODE>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="" type="Double" nullable="true"/>
<column name="" type="Double" nullable="true"/>
<column name="" type="String" nullable="true" length="200"/>
<column name="" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="it_does_not_matter" indexName="idx_it_does_not_matter_" isUnique="false"><column name=""/></NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">tl_hiring_team</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="hiring_team_name" type="String" nullable="false" length="100"/>
<column name="hiring_team_logo" type="BLOB" nullable="true"/>
<column name="hiring_team_type" type="String" nullable="true" length="200"/>
<column name="industry" type="String" nullable="true" length="200"/>
<column name="time_zone" type="String" nullable="true" length="200"/>
<column name="state" type="String" nullable="true" length="200"/>
<column name="country" type="String" nullable="true" length="200"/>
<column name="post_code" type="String" nullable="true" length="10"/>
<column name="city" type="String" nullable="true" length="100"/>
<column name="has_client_support" type="Boolean" nullable="true"/>
<column name="manage_own_billing" type="Boolean" nullable="true"/>
<column name="stripe_reference" type="String" nullable="true" length="100"/>
<column name="stripe_subscription" type="String" nullable="true" length="100"/>
<column name="stripe_fixed_sub_item" type="String" nullable="true" length="100"/>
<column name="stripe_metered_sub_item" type="String" nullable="true" length="100"/>
<column name="name_on_card" type="String" nullable="true" length="100"/>
<column name="card_post_code" type="String" nullable="true" length="10"/>
<column name="card_id" type="String" nullable="true" length="100"/>
<column name="plan_renewed_on" type="Date" nullable="true"/>
<column name="used_credits" type="Long" nullable="true"/>
<column name="available_credits" type="Long" nullable="true"/>
<column name="is_ppj" type="Boolean" nullable="true"/>
<column name="has_cap" type="Boolean" nullable="true"/>
<column name="max_cap" type="Long" nullable="true"/>
<column name="coupon_expiry_date" type="Date" nullable="true"/>
<column name="last_plan_amount" type="Double" nullable="true"/>
<column name="google_address_text" type="String" nullable="true" length="300"/>
<column name="plan_cancelled" type="Boolean" nullable="true"/>
<column name="company_id" type="Long" length="11" nullable="false"/>
<column name="billing_team_id" type="Long" length="11" nullable="true"/>
<column name="added_by_user_id" type="Long" length="11" nullable="false"/>
<column name="payment_plan_id" type="Long" length="11" nullable="true"/>
<column name="coupon_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_hiring_team" indexName="idx_tl_hiring_team_company_id" isUnique="false"><column name="company_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_hiring_team" indexName="idx_tl_hiring_team_billing_team_id" isUnique="false"><column name="billing_team_id"/></NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="" type="Long" length="11" nullable="true"/>
<column name="" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="it_does_not_matter" indexName="idx_it_does_not_matter_" isUnique="false"><column name=""/></NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="" type="CLOB" nullable="true"/>
<column name="" type="CLOB" nullable="true"/>
<column name="" type="CLOB" nullable="true"/>
<column name="" type="String" nullable="false" length="200"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
......@@ -8,7 +8,7 @@
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="job_title" type="String" nullable="false" length="500"/>
<column name="job_title" type="String" nullable="false" length="30"/>
<column name="job_description" type="CLOB" nullable="false"/>
<column name="job_status" type="String" nullable="false" length="200"/>
<column name="open_date" type="Date" nullable="true"/>
......@@ -17,17 +17,30 @@
<column name="assessment_type" type="String" nullable="false" length="200"/>
<column name="random_key" type="String" nullable="true" length="10"/>
<column name="job_type" type="String" nullable="false" length="200"/>
<column name="ref_number" type="String" nullable="true" length="100"/>
<column name="ref_number" type="String" nullable="true" length="10"/>
<column name="last_status_change_date" type="Date" nullable="true"/>
<column name="remote" type="Boolean" nullable="true"/>
<column name="city" type="String" nullable="true" length="100"/>
<column name="postcode" type="String" nullable="true" length="100"/>
<column name="location_radius" type="String" nullable="false" length="200"/>
<column name="state" type="String" nullable="true" length="200"/>
<column name="country" type="String" nullable="true" length="200"/>
<column name="require_cv" type="Boolean" nullable="true"/>
<column name="manually_closed" type="Boolean" nullable="true"/>
<column name="last_edited" type="Date" nullable="true"/>
<column name="is_ppj" type="Boolean" nullable="true"/>
<column name="industry" type="String" nullable="true" length="200"/>
<column name="culture_statement" type="String" nullable="true" length="2000"/>
<column name="draft_location" type="String" nullable="true" length="200"/>
<column name="google_address_text" type="String" nullable="true" length="300"/>
<column name="level_id" type="Long" length="11" nullable="true"/>
<column name="client_id" type="Long" length="11" nullable="true"/>
<column name="job_owner_id" type="Long" length="11" nullable="true"/>
<column name="company_user_id" type="Long" length="11" nullable="true"/>
<column name="hiring_team_id" type="Long" length="11" nullable="true"/>
<column name="occupation_id" type="Long" length="11" nullable="false"/>
<column name="shortened_url_id" type="Long" length="11" nullable="true"/>
<column name="template_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_job" indexName="idx_tl_job_client_id" isUnique="false"><column name="client_id"/></NODE>
......
......@@ -9,8 +9,12 @@
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="cv" type="BLOB" nullable="true"/>
<column name="cover_letter" type="BLOB" nullable="true"/>
<column name="application_status" type="String" nullable="false" length="200"/>
<column name="submitted_date" type="Date" nullable="true"/>
<column name="google_address_text" type="String" nullable="true" length="300"/>
<column name="prefer_remote" type="Boolean" nullable="true"/>
<column name="happy_to_relocate" type="Boolean" nullable="true"/>
<column name="candidate_id" type="Long" length="11" nullable="false"/>
<column name="job_id" type="Long" length="11" nullable="false"/>
</NODE>
......
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">tl_occupation</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="code" type="String" nullable="false" length="4"/>
<column name="name" type="String" nullable="false" length="250"/>
<column name="level" type="String" nullable="false" length="200"/>
<column name="parent_occupation_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_occupation" indexName="idx_tl_occupation_parent_occupation_id" isUnique="false"><column name="parent_occupation_id"/></NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">tl_payment_plan</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="stripe_reference" type="String" nullable="false" length="100"/>
<column name="plan_name" type="CLOB" nullable="true"/>
<column name="description" type="CLOB" nullable="true"/>
<column name="currency_type" type="String" nullable="false" length="200"/>
<column name="amount" type="Double" nullable="false"/>
<column name="interval" type="String" nullable="false" length="200"/>
<column name="interval_count" type="Long" nullable="false"/>
<column name="trial_period_days" type="Long" nullable="true"/>
<column name="active_job_count" type="Long" nullable="true"/>
<column name="disabled" type="Boolean" nullable="true"/>
<column name="product_reference" type="String" nullable="true" length="100"/>
<column name="usage_type" type="String" nullable="true" length="200"/>
<column name="linked_plan" type="String" nullable="true" length="100"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="xxxx" type="CLOB" nullable="true"/>
<column name="xxxx" type="Long" length="11" nullable="true"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="xxxx" type="CLOB" nullable="true"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="xxxx" type="Boolean" nullable="true"/>
<column name="xxxx" type="Long" length="11" nullable="true"/>
<column name="xxxx" type="Long" length="11" nullable="true"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="xxxx" type="CLOB" nullable="true"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">tl_coupon</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="coupon_code" type="String" nullable="false" length="100"/>
<column name="percentage_off" type="Double" nullable="true"/>
<column name="duration_in_months" type="Long" nullable="true"/>
<column name="coupon_duration" type="String" nullable="true" length="200"/>
<column name="redeem_by" type="Date" nullable="true"/>
<column name="max_redemptions" type="Long" nullable="true"/>
<column name="times_redeemed" type="Long" nullable="true"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">it_does_not_matter</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="" type="CLOB" nullable="true"/>
<column name="" type="CLOB" nullable="true"/>
<column name="" type="Long" nullable="true"/>
</NODE>
</NODE></OBJECTS>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS name="" xmlns:oneit="http://www.1iT.com.au"><NODE name="Script" factory="Vector">
<NODE name="DDL" factory="Participant" class="oneit.sql.transfer.DefineTableOperation">
<tableName factory="String">tl_work_flow</tableName>
<column name="object_id" type="Long" nullable="false" length="11"/>
<column name="object_last_updated_date" type="Date" nullable="false" length="22"/>
<column name="object_created_date" type="Date" nullable="false" length="22"/>
<column name="name" type="String" nullable="false" length="20"/>
<column name="sort_order" type="Long" nullable="false"/>
<column name="application_status" type="String" nullable="false" length="200"/>
<column name="job_id" type="Long" length="11" nullable="true"/>
<column name="template_id" type="Long" length="11" nullable="true"/>
</NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_work_flow" indexName="idx_tl_work_flow_job_id" isUnique="false"><column name="job_id"/></NODE>
<NODE name="INDEX" factory="Participant" class="oneit.sql.transfer.DefineIndexOperation" tableName="tl_work_flow" indexName="idx_tl_work_flow_template_id" isUnique="false"><column name="template_id"/></NODE>
</NODE></OBJECTS>
\ No newline at end of file
......@@ -9,7 +9,24 @@ CREATE TABLE tl_assessment_template (
object_created_date datetime DEFAULT getdate() NOT NULL
,
template_name varchar(100) NULL,
user_id numeric(12) NULL
job_title varchar(30) NOT NULL,
job_description text NOT NULL,
ref_number varchar(10) NULL,
google_address_text varchar(300) NULL,
location_radius varchar(200) NOT NULL,
remote char(1) NULL,
job_type varchar(200) NOT NULL,
industry varchar(200) NULL,
require_cv char(1) NULL,
assessment_type varchar(200) NOT NULL,
include_assessment_criteria char(1) NOT NULL,
level_id numeric(12) NULL,
occupation_id numeric(12) NOT NULL,
job_owner_id numeric(12) NULL,
job_id numeric(12) NULL,
client_id numeric(12) NULL,
hiring_team_id numeric(12) NULL,
company_user_id numeric(12) NULL
);
......@@ -22,6 +39,6 @@ ALTER TABLE tl_assessment_template ADD
CREATE UNIQUE INDEX idx_tl_assessment_template_TemplateName ON
tl_assessment_template (template_name, user_id);
CREATE UNIQUE INDEX idx_tl_assessment_template_TemplateID ON
tl_assessment_template (template_name, hiring_team_id, company_user_id);
\ No newline at end of file
......@@ -14,6 +14,7 @@ CREATE TABLE oneit_sec_user_extension (
verification_mail_send_date datetime NULL,
verification_key varchar(10) NULL,
is_account_verified char(1) NULL,
google_address_text varchar(300) NULL,
test_input_id numeric(12) NULL,
user_id numeric(12) NULL
);
......
......@@ -8,7 +8,7 @@ CREATE TABLE tl_client (
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
client_name varchar(100) NOT NULL,
client_name varchar(30) NOT NULL,
client_logo image NULL,
email varchar(100) NULL,
contact_name varchar(100) NULL,
......@@ -19,7 +19,8 @@ CREATE TABLE tl_client (
post_code varchar(10) NULL,
city varchar(100) NULL,
time_zone varchar(200) NULL,
company_id numeric(12) NOT NULL
hiring_team_id numeric(12) NOT NULL,
company_id numeric(12) NULL
);
......@@ -32,5 +33,8 @@ ALTER TABLE tl_client ADD
CREATE INDEX idx_tl_client_hiring_team_id
ON tl_client (hiring_team_id);
CREATE INDEX idx_tl_client_company_id
ON tl_client (company_id);
......@@ -21,7 +21,13 @@ CREATE TABLE tl_company (
has_client_support char(1) NULL,
stripe_reference varchar(100) NULL,
stripe_subscription varchar(100) NULL,
added_by_user_id numeric(12) NOT NULL
name_on_card varchar(100) NULL,
card_post_code varchar(10) NULL,
card_id varchar(100) NULL,
plan_renewed_on datetime NULL,
used_credits numeric(12) NULL,
added_by_user_id numeric(12) NOT NULL,
payment_plan_id numeric(12) NULL
);
......
......@@ -17,8 +17,10 @@ CREATE TABLE oneit_sec_user_extension (
verification_key varchar(10) NULL,
is_account_verified char(1) NULL,
is_email_changed char(1) NULL,
is_disabled char(1) NULL,
user_id numeric(12) NULL,
company_id numeric(12) NULL
company_id numeric(12) NULL,
default_hiring_team_id numeric(12) NULL
);
......
-- DROP TABLE tl_company_user_hiring_team_link;
CREATE TABLE tl_company_user_hiring_team_link (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
role_type varchar(200) NOT NULL,
hiring_team_id numeric(12) NULL,
company_user_id numeric(12) NULL
);
ALTER TABLE tl_company_user_hiring_team_link ADD
CONSTRAINT PK_tl_company_user_hiring_team_link PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_company_user_hiring_team_link_hiring_team_id
ON tl_company_user_hiring_team_link (hiring_team_id);
CREATE INDEX idx_tl_company_user_hiring_team_link_company_user_id
ON tl_company_user_hiring_team_link (company_user_id);
......@@ -8,7 +8,8 @@ CREATE TABLE tl_culture_criteria (
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
importance varchar(200) NOT NULL,
importance varchar(200) NULL,
is_applicable char(1) NULL,
culture_element_id numeric(12) NOT NULL,
culture_element_rating_id numeric(12) NULL,
job_id numeric(12) NULL,
......
......@@ -9,7 +9,10 @@ CREATE TABLE tl_culture_template (
object_created_date datetime DEFAULT getdate() NOT NULL
,
template_name varchar(100) NULL,
user_id numeric(12) NULL
culture_statement varchar(2000) NULL,
client_id numeric(12) NULL,
hiring_team_id numeric(12) NULL,
company_user_id numeric(12) NULL
);
......@@ -22,6 +25,6 @@ ALTER TABLE tl_culture_template ADD
CREATE UNIQUE INDEX idx_tl_culture_template_TemplateName ON
tl_culture_template (template_name, user_id);
CREATE UNIQUE INDEX idx_tl_culture_template_TemplateID ON
tl_culture_template (template_name, hiring_team_id, company_user_id);
\ No newline at end of file
......@@ -9,6 +9,7 @@ CREATE TABLE tl_culture_element (
object_created_date datetime DEFAULT getdate() NOT NULL
,
culture_element_desc varchar(200) NULL,
detailed_desc varchar(2000) NULL,
culture_class_code varchar(200) NULL
);
......
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
numeric(20,5) NULL,
numeric(20,5) NULL,
varchar(200) NULL,
numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_it_does_not_matter_
ON it_does_not_matter ();
-- DROP TABLE tl_hiring_team;
CREATE TABLE tl_hiring_team (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
hiring_team_name varchar(100) NOT NULL,
hiring_team_logo image NULL,
hiring_team_type varchar(200) NULL,
industry varchar(200) NULL,
time_zone varchar(200) NULL,
state varchar(200) NULL,
country varchar(200) NULL,
post_code varchar(10) NULL,
city varchar(100) NULL,
has_client_support char(1) NULL,
manage_own_billing char(1) NULL,
stripe_reference varchar(100) NULL,
stripe_subscription varchar(100) NULL,
stripe_fixed_sub_item varchar(100) NULL,
stripe_metered_sub_item varchar(100) NULL,
name_on_card varchar(100) NULL,
card_post_code varchar(10) NULL,
card_id varchar(100) NULL,
plan_renewed_on datetime NULL,
used_credits numeric(12) NULL,
available_credits numeric(12) NULL,
is_ppj char(1) NULL,
has_cap char(1) NULL,
max_cap numeric(12) NULL,
coupon_expiry_date datetime NULL,
last_plan_amount numeric(20,5) NULL,
google_address_text varchar(300) NULL,
plan_cancelled char(1) NULL,
company_id numeric(12) NOT NULL,
billing_team_id numeric(12) NULL,
added_by_user_id numeric(12) NOT NULL,
payment_plan_id numeric(12) NULL,
coupon_id numeric(12) NULL
);
ALTER TABLE tl_hiring_team ADD
CONSTRAINT PK_tl_hiring_team PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_hiring_team_company_id
ON tl_hiring_team (company_id);
CREATE INDEX idx_tl_hiring_team_billing_team_id
ON tl_hiring_team (billing_team_id);
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
numeric(12) NULL,
numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_it_does_not_matter_
ON it_does_not_matter ();
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
text NULL,
text NULL,
text NULL,
varchar(200) NOT NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
......@@ -8,7 +8,7 @@ CREATE TABLE tl_job (
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
job_title varchar(500) NOT NULL,
job_title varchar(30) NOT NULL,
job_description text NOT NULL,
job_status varchar(200) NOT NULL,
open_date datetime NULL,
......@@ -17,17 +17,30 @@ CREATE TABLE tl_job (
assessment_type varchar(200) NOT NULL,
random_key varchar(10) NULL,
job_type varchar(200) NOT NULL,
ref_number varchar(100) NULL,
ref_number varchar(10) NULL,
last_status_change_date datetime NULL,
remote char(1) NULL,
city varchar(100) NULL,
postcode varchar(100) NULL,
location_radius varchar(200) NOT NULL,
state varchar(200) NULL,
country varchar(200) NULL,
require_cv char(1) NULL,
manually_closed char(1) NULL,
last_edited datetime NULL,
is_ppj char(1) NULL,
industry varchar(200) NULL,
culture_statement varchar(2000) NULL,
draft_location varchar(200) NULL,
google_address_text varchar(300) NULL,
level_id numeric(12) NULL,
client_id numeric(12) NULL,
job_owner_id numeric(12) NULL,
company_user_id numeric(12) NULL,
shortened_url_id numeric(12) NULL
hiring_team_id numeric(12) NULL,
occupation_id numeric(12) NOT NULL,
shortened_url_id numeric(12) NULL,
template_id numeric(12) NULL
);
......
......@@ -9,8 +9,12 @@ CREATE TABLE tl_job_application (
object_created_date datetime DEFAULT getdate() NOT NULL
,
cv image NULL,
cover_letter image NULL,
application_status varchar(200) NOT NULL,
submitted_date datetime NULL,
google_address_text varchar(300) NULL,
prefer_remote char(1) NULL,
happy_to_relocate char(1) NULL,
candidate_id numeric(12) NOT NULL,
job_id numeric(12) NOT NULL
);
......
-- DROP TABLE tl_occupation;
CREATE TABLE tl_occupation (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
code varchar(4) NOT NULL,
name varchar(250) NOT NULL,
level varchar(200) NOT NULL,
parent_occupation_id numeric(12) NULL
);
ALTER TABLE tl_occupation ADD
CONSTRAINT PK_tl_occupation PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_occupation_parent_occupation_id
ON tl_occupation (parent_occupation_id);
-- DROP TABLE tl_payment_plan;
CREATE TABLE tl_payment_plan (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
stripe_reference varchar(100) NOT NULL,
plan_name text NULL,
description text NULL,
currency_type varchar(200) NOT NULL,
amount numeric(20,5) NOT NULL,
interval varchar(200) NOT NULL,
interval_count numeric(12) NOT NULL,
trial_period_days numeric(12) NULL,
active_job_count numeric(12) NULL,
disabled char(1) NULL,
product_reference varchar(100) NULL,
usage_type varchar(200) NULL,
linked_plan varchar(100) NULL
);
ALTER TABLE tl_payment_plan ADD
CONSTRAINT PK_tl_payment_plan PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
xxxx text NULL,
xxxx numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
xxxx text NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
xxxx char(1) NULL,
xxxx numeric(12) NULL,
xxxx numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
xxxx text NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE tl_coupon;
CREATE TABLE tl_coupon (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
coupon_code varchar(100) NOT NULL,
percentage_off numeric(20,5) NULL,
duration_in_months numeric(12) NULL,
coupon_duration varchar(200) NULL,
redeem_by datetime NULL,
max_redemptions numeric(12) NULL,
times_redeemed numeric(12) NULL
);
ALTER TABLE tl_coupon ADD
CONSTRAINT PK_tl_coupon PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
text NULL,
text NULL,
numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE tl_work_flow;
CREATE TABLE tl_work_flow (
object_id int NOT NULL ,
object_last_updated_date datetime DEFAULT getdate() NOT NULL ,
object_created_date datetime DEFAULT getdate() NOT NULL
,
name varchar(20) NOT NULL,
sort_order numeric(12) NOT NULL,
application_status varchar(200) NOT NULL,
job_id numeric(12) NULL,
template_id numeric(12) NULL
);
ALTER TABLE tl_work_flow ADD
CONSTRAINT PK_tl_work_flow PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_work_flow_job_id
ON tl_work_flow (job_id);
CREATE INDEX idx_tl_work_flow_template_id
ON tl_work_flow (template_id);
......@@ -10,7 +10,24 @@ CREATE TABLE tl_assessment_template (
object_created_date date DEFAULT SYSDATE NOT NULL
,
template_name varchar2(100) NULL,
user_id number(12) NULL
job_title varchar2(30) NOT NULL,
job_description clob NOT NULL,
ref_number varchar2(10) NULL,
google_address_text varchar2(300) NULL,
location_radius varchar2(200) NOT NULL,
remote char(1) NULL,
job_type varchar2(200) NOT NULL,
industry varchar2(200) NULL,
require_cv char(1) NULL,
assessment_type varchar2(200) NOT NULL,
include_assessment_criteria char(1) NOT NULL,
level_id number(12) NULL,
occupation_id number(12) NOT NULL,
job_owner_id number(12) NULL,
job_id number(12) NULL,
client_id number(12) NULL,
hiring_team_id number(12) NULL,
company_user_id number(12) NULL
);
......@@ -23,6 +40,6 @@ ALTER TABLE tl_assessment_template ADD
CREATE UNIQUE INDEX idx_tl_assessment_template_TemplateName ON
tl_assessment_template (template_name, user_id);
CREATE UNIQUE INDEX idx_tl_assessment_template_TemplateID ON
tl_assessment_template (template_name, hiring_team_id, company_user_id);
\ No newline at end of file
......@@ -15,6 +15,7 @@ CREATE TABLE oneit_sec_user_extension (
verification_mail_send_date date NULL,
verification_key varchar2(10) NULL,
is_account_verified char(1) NULL,
google_address_text varchar2(300) NULL,
test_input_id number(12) NULL,
user_id number(12) NULL
);
......
......@@ -9,7 +9,7 @@ CREATE TABLE tl_client (
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
client_name varchar2(100) NOT NULL,
client_name varchar2(30) NOT NULL,
client_logo blob NULL,
email varchar2(100) NULL,
contact_name varchar2(100) NULL,
......@@ -20,7 +20,8 @@ CREATE TABLE tl_client (
post_code varchar2(10) NULL,
city varchar2(100) NULL,
time_zone varchar2(200) NULL,
company_id number(12) NOT NULL
hiring_team_id number(12) NOT NULL,
company_id number(12) NULL
);
......@@ -33,5 +34,8 @@ ALTER TABLE tl_client ADD
CREATE INDEX idx_tl_client_hiring_team_id
ON tl_client (hiring_team_id);
CREATE INDEX idx_tl_client_company_id
ON tl_client (company_id);
......@@ -22,7 +22,13 @@ CREATE TABLE tl_company (
has_client_support char(1) NULL,
stripe_reference varchar2(100) NULL,
stripe_subscription varchar2(100) NULL,
added_by_user_id number(12) NOT NULL
name_on_card varchar2(100) NULL,
card_post_code varchar2(10) NULL,
card_id varchar2(100) NULL,
plan_renewed_on date NULL,
used_credits number(12) NULL,
added_by_user_id number(12) NOT NULL,
payment_plan_id number(12) NULL
);
......
......@@ -18,8 +18,10 @@ CREATE TABLE oneit_sec_user_extension (
verification_key varchar2(10) NULL,
is_account_verified char(1) NULL,
is_email_changed char(1) NULL,
is_disabled char(1) NULL,
user_id number(12) NULL,
company_id number(12) NULL
company_id number(12) NULL,
default_hiring_team_id number(12) NULL
);
......
-- DROP TABLE tl_company_user_hiring_team_link;
CREATE TABLE tl_company_user_hiring_team_link (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
role_type varchar2(200) NOT NULL,
hiring_team_id number(12) NULL,
company_user_id number(12) NULL
);
ALTER TABLE tl_company_user_hiring_team_link ADD
CONSTRAINT PK_tl_company_user_hiring_team_link PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_company_user_hiring_team_link_hiring_team_id
ON tl_company_user_hiring_team_link (hiring_team_id);
CREATE INDEX idx_tl_company_user_hiring_team_link_company_user_id
ON tl_company_user_hiring_team_link (company_user_id);
......@@ -9,7 +9,8 @@ CREATE TABLE tl_culture_criteria (
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
importance varchar2(200) NOT NULL,
importance varchar2(200) NULL,
is_applicable char(1) NULL,
culture_element_id number(12) NOT NULL,
culture_element_rating_id number(12) NULL,
job_id number(12) NULL,
......
......@@ -10,7 +10,10 @@ CREATE TABLE tl_culture_template (
object_created_date date DEFAULT SYSDATE NOT NULL
,
template_name varchar2(100) NULL,
user_id number(12) NULL
culture_statement varchar2(2000) NULL,
client_id number(12) NULL,
hiring_team_id number(12) NULL,
company_user_id number(12) NULL
);
......@@ -23,6 +26,6 @@ ALTER TABLE tl_culture_template ADD
CREATE UNIQUE INDEX idx_tl_culture_template_TemplateName ON
tl_culture_template (template_name, user_id);
CREATE UNIQUE INDEX idx_tl_culture_template_TemplateID ON
tl_culture_template (template_name, hiring_team_id, company_user_id);
\ No newline at end of file
......@@ -10,6 +10,7 @@ CREATE TABLE tl_culture_element (
object_created_date date DEFAULT SYSDATE NOT NULL
,
culture_element_desc varchar2(200) NULL,
detailed_desc varchar2(2000) NULL,
culture_class_code varchar2(200) NULL
);
......
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
number(20,5) NULL,
number(20,5) NULL,
varchar2(200) NULL,
number(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_it_does_not_matter_
ON it_does_not_matter ();
-- DROP TABLE tl_hiring_team;
CREATE TABLE tl_hiring_team (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
hiring_team_name varchar2(100) NOT NULL,
hiring_team_logo blob NULL,
hiring_team_type varchar2(200) NULL,
industry varchar2(200) NULL,
time_zone varchar2(200) NULL,
state varchar2(200) NULL,
country varchar2(200) NULL,
post_code varchar2(10) NULL,
city varchar2(100) NULL,
has_client_support char(1) NULL,
manage_own_billing char(1) NULL,
stripe_reference varchar2(100) NULL,
stripe_subscription varchar2(100) NULL,
stripe_fixed_sub_item varchar2(100) NULL,
stripe_metered_sub_item varchar2(100) NULL,
name_on_card varchar2(100) NULL,
card_post_code varchar2(10) NULL,
card_id varchar2(100) NULL,
plan_renewed_on date NULL,
used_credits number(12) NULL,
available_credits number(12) NULL,
is_ppj char(1) NULL,
has_cap char(1) NULL,
max_cap number(12) NULL,
coupon_expiry_date date NULL,
last_plan_amount number(20,5) NULL,
google_address_text varchar2(300) NULL,
plan_cancelled char(1) NULL,
company_id number(12) NOT NULL,
billing_team_id number(12) NULL,
added_by_user_id number(12) NOT NULL,
payment_plan_id number(12) NULL,
coupon_id number(12) NULL
);
ALTER TABLE tl_hiring_team ADD
CONSTRAINT PK_tl_hiring_team PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_hiring_team_company_id
ON tl_hiring_team (company_id);
CREATE INDEX idx_tl_hiring_team_billing_team_id
ON tl_hiring_team (billing_team_id);
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
number(12) NULL,
number(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_it_does_not_matter_
ON it_does_not_matter ();
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
clob NULL,
clob NULL,
clob NULL,
varchar2(200) NOT NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
......@@ -9,7 +9,7 @@ CREATE TABLE tl_job (
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
job_title varchar2(500) NOT NULL,
job_title varchar2(30) NOT NULL,
job_description clob NOT NULL,
job_status varchar2(200) NOT NULL,
open_date date NULL,
......@@ -18,17 +18,30 @@ CREATE TABLE tl_job (
assessment_type varchar2(200) NOT NULL,
random_key varchar2(10) NULL,
job_type varchar2(200) NOT NULL,
ref_number varchar2(100) NULL,
ref_number varchar2(10) NULL,
last_status_change_date date NULL,
remote char(1) NULL,
city varchar2(100) NULL,
postcode varchar2(100) NULL,
location_radius varchar2(200) NOT NULL,
state varchar2(200) NULL,
country varchar2(200) NULL,
require_cv char(1) NULL,
manually_closed char(1) NULL,
last_edited date NULL,
is_ppj char(1) NULL,
industry varchar2(200) NULL,
culture_statement varchar2(2000) NULL,
draft_location varchar2(200) NULL,
google_address_text varchar2(300) NULL,
level_id number(12) NULL,
client_id number(12) NULL,
job_owner_id number(12) NULL,
company_user_id number(12) NULL,
shortened_url_id number(12) NULL
hiring_team_id number(12) NULL,
occupation_id number(12) NOT NULL,
shortened_url_id number(12) NULL,
template_id number(12) NULL
);
......
......@@ -10,8 +10,12 @@ CREATE TABLE tl_job_application (
object_created_date date DEFAULT SYSDATE NOT NULL
,
cv blob NULL,
cover_letter blob NULL,
application_status varchar2(200) NOT NULL,
submitted_date date NULL,
google_address_text varchar2(300) NULL,
prefer_remote char(1) NULL,
happy_to_relocate char(1) NULL,
candidate_id number(12) NOT NULL,
job_id number(12) NOT NULL
);
......
-- DROP TABLE tl_occupation;
CREATE TABLE tl_occupation (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
code varchar2(4) NOT NULL,
name varchar2(250) NOT NULL,
level varchar2(200) NOT NULL,
parent_occupation_id number(12) NULL
);
ALTER TABLE tl_occupation ADD
CONSTRAINT PK_tl_occupation PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_occupation_parent_occupation_id
ON tl_occupation (parent_occupation_id);
-- DROP TABLE tl_payment_plan;
CREATE TABLE tl_payment_plan (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
stripe_reference varchar2(100) NOT NULL,
plan_name clob NULL,
description clob NULL,
currency_type varchar2(200) NOT NULL,
amount number(20,5) NOT NULL,
interval varchar2(200) NOT NULL,
interval_count number(12) NOT NULL,
trial_period_days number(12) NULL,
active_job_count number(12) NULL,
disabled char(1) NULL,
product_reference varchar2(100) NULL,
usage_type varchar2(200) NULL,
linked_plan varchar2(100) NULL
);
ALTER TABLE tl_payment_plan ADD
CONSTRAINT PK_tl_payment_plan PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
xxxx clob NULL,
xxxx number(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
xxxx clob NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
xxxx char(1) NULL,
xxxx number(12) NULL,
xxxx number(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
xxxx clob NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE tl_coupon;
CREATE TABLE tl_coupon (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
coupon_code varchar2(100) NOT NULL,
percentage_off number(20,5) NULL,
duration_in_months number(12) NULL,
coupon_duration varchar2(200) NULL,
redeem_by date NULL,
max_redemptions number(12) NULL,
times_redeemed number(12) NULL
);
ALTER TABLE tl_coupon ADD
CONSTRAINT PK_tl_coupon PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
clob NULL,
clob NULL,
number(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT PK_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- DROP TABLE tl_work_flow;
CREATE TABLE tl_work_flow (
object_id number(12) NOT NULL ,
object_last_updated_date date DEFAULT SYSDATE NOT NULL ,
object_created_date date DEFAULT SYSDATE NOT NULL
,
name varchar2(20) NOT NULL,
sort_order number(12) NOT NULL,
application_status varchar2(200) NOT NULL,
job_id number(12) NULL,
template_id number(12) NULL
);
ALTER TABLE tl_work_flow ADD
CONSTRAINT PK_tl_work_flow PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_work_flow_job_id
ON tl_work_flow (job_id);
CREATE INDEX idx_tl_work_flow_template_id
ON tl_work_flow (template_id);
......@@ -10,7 +10,24 @@ CREATE TABLE tl_assessment_template (
object_created_date timestamp DEFAULT NOW() NOT NULL
,
template_name varchar(100) NULL,
user_id numeric(12) NULL
job_title varchar(30) NOT NULL,
job_description text NOT NULL,
ref_number varchar(10) NULL,
google_address_text varchar(300) NULL,
location_radius varchar(200) NOT NULL,
remote char(1) NULL,
job_type varchar(200) NOT NULL,
industry varchar(200) NULL,
require_cv char(1) NULL,
assessment_type varchar(200) NOT NULL,
include_assessment_criteria char(1) NOT NULL,
level_id numeric(12) NULL,
occupation_id numeric(12) NOT NULL,
job_owner_id numeric(12) NULL,
job_id numeric(12) NULL,
client_id numeric(12) NULL,
hiring_team_id numeric(12) NULL,
company_user_id numeric(12) NULL
);
......@@ -23,6 +40,6 @@ ALTER TABLE tl_assessment_template ADD
CREATE UNIQUE INDEX idx_tl_assessment_template_TemplateName ON
tl_assessment_template (template_name, user_id);
CREATE UNIQUE INDEX idx_tl_assessment_template_TemplateID ON
tl_assessment_template (template_name, hiring_team_id, company_user_id);
\ No newline at end of file
......@@ -15,6 +15,7 @@ CREATE TABLE oneit_sec_user_extension (
verification_mail_send_date timestamp NULL,
verification_key varchar(10) NULL,
is_account_verified char(1) NULL,
google_address_text varchar(300) NULL,
test_input_id numeric(12) NULL,
user_id numeric(12) NULL
);
......
......@@ -9,7 +9,7 @@ CREATE TABLE tl_client (
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
client_name varchar(100) NOT NULL,
client_name varchar(30) NOT NULL,
client_logo bytea NULL,
email varchar(100) NULL,
contact_name varchar(100) NULL,
......@@ -20,7 +20,8 @@ CREATE TABLE tl_client (
post_code varchar(10) NULL,
city varchar(100) NULL,
time_zone varchar(200) NULL,
company_id numeric(12) NOT NULL
hiring_team_id numeric(12) NOT NULL,
company_id numeric(12) NULL
);
......@@ -33,5 +34,8 @@ ALTER TABLE tl_client ADD
CREATE INDEX idx_tl_client_hiring_team_id
ON tl_client (hiring_team_id);
CREATE INDEX idx_tl_client_company_id
ON tl_client (company_id);
......@@ -22,7 +22,13 @@ CREATE TABLE tl_company (
has_client_support char(1) NULL,
stripe_reference varchar(100) NULL,
stripe_subscription varchar(100) NULL,
added_by_user_id numeric(12) NOT NULL
name_on_card varchar(100) NULL,
card_post_code varchar(10) NULL,
card_id varchar(100) NULL,
plan_renewed_on timestamp NULL,
used_credits numeric(12) NULL,
added_by_user_id numeric(12) NOT NULL,
payment_plan_id numeric(12) NULL
);
......
......@@ -18,8 +18,10 @@ CREATE TABLE oneit_sec_user_extension (
verification_key varchar(10) NULL,
is_account_verified char(1) NULL,
is_email_changed char(1) NULL,
is_disabled char(1) NULL,
user_id numeric(12) NULL,
company_id numeric(12) NULL
company_id numeric(12) NULL,
default_hiring_team_id numeric(12) NULL
);
......
-- @AutoRun
-- drop table tl_company_user_hiring_team_link;
CREATE TABLE tl_company_user_hiring_team_link (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
role_type varchar(200) NOT NULL,
hiring_team_id numeric(12) NULL,
company_user_id numeric(12) NULL
);
ALTER TABLE tl_company_user_hiring_team_link ADD
CONSTRAINT pk_tl_company_user_hiring_team_link PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_company_user_hiring_team_link_hiring_team_id
ON tl_company_user_hiring_team_link (hiring_team_id);
CREATE INDEX idx_tl_company_user_hiring_team_link_company_user_id
ON tl_company_user_hiring_team_link (company_user_id);
......@@ -9,7 +9,8 @@ CREATE TABLE tl_culture_criteria (
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
importance varchar(200) NOT NULL,
importance varchar(200) NULL,
is_applicable char(1) NULL,
culture_element_id numeric(12) NOT NULL,
culture_element_rating_id numeric(12) NULL,
job_id numeric(12) NULL,
......
......@@ -10,7 +10,10 @@ CREATE TABLE tl_culture_template (
object_created_date timestamp DEFAULT NOW() NOT NULL
,
template_name varchar(100) NULL,
user_id numeric(12) NULL
culture_statement varchar(2000) NULL,
client_id numeric(12) NULL,
hiring_team_id numeric(12) NULL,
company_user_id numeric(12) NULL
);
......@@ -23,6 +26,6 @@ ALTER TABLE tl_culture_template ADD
CREATE UNIQUE INDEX idx_tl_culture_template_TemplateName ON
tl_culture_template (template_name, user_id);
CREATE UNIQUE INDEX idx_tl_culture_template_TemplateID ON
tl_culture_template (template_name, hiring_team_id, company_user_id);
\ No newline at end of file
......@@ -10,6 +10,7 @@ CREATE TABLE tl_culture_element (
object_created_date timestamp DEFAULT NOW() NOT NULL
,
culture_element_desc varchar(200) NULL,
detailed_desc varchar(2000) NULL,
culture_class_code varchar(200) NULL
);
......
-- @AutoRun
-- drop table it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
numeric(20,5) NULL,
numeric(20,5) NULL,
varchar(200) NULL,
numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT pk_it_does_not_matter PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_it_does_not_matter_
ON it_does_not_matter ();
-- @AutoRun
-- drop table tl_hiring_team;
CREATE TABLE tl_hiring_team (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
hiring_team_name varchar(100) NOT NULL,
hiring_team_logo bytea NULL,
hiring_team_type varchar(200) NULL,
industry varchar(200) NULL,
time_zone varchar(200) NULL,
state varchar(200) NULL,
country varchar(200) NULL,
post_code varchar(10) NULL,
city varchar(100) NULL,
has_client_support char(1) NULL,
manage_own_billing char(1) NULL,
stripe_reference varchar(100) NULL,
stripe_subscription varchar(100) NULL,
stripe_fixed_sub_item varchar(100) NULL,
stripe_metered_sub_item varchar(100) NULL,
name_on_card varchar(100) NULL,
card_post_code varchar(10) NULL,
card_id varchar(100) NULL,
plan_renewed_on timestamp NULL,
used_credits numeric(12) NULL,
available_credits numeric(12) NULL,
is_ppj char(1) NULL,
has_cap char(1) NULL,
max_cap numeric(12) NULL,
coupon_expiry_date timestamp NULL,
last_plan_amount numeric(20,5) NULL,
google_address_text varchar(300) NULL,
plan_cancelled char(1) NULL,
company_id numeric(12) NOT NULL,
billing_team_id numeric(12) NULL,
added_by_user_id numeric(12) NOT NULL,
payment_plan_id numeric(12) NULL,
coupon_id numeric(12) NULL
);
ALTER TABLE tl_hiring_team ADD
CONSTRAINT pk_tl_hiring_team PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_hiring_team_company_id
ON tl_hiring_team (company_id);
CREATE INDEX idx_tl_hiring_team_billing_team_id
ON tl_hiring_team (billing_team_id);
-- @AutoRun
-- drop table it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
numeric(12) NULL,
numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT pk_it_does_not_matter PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_it_does_not_matter_
ON it_does_not_matter ();
-- @AutoRun
-- drop table it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
text NULL,
text NULL,
text NULL,
varchar(200) NOT NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT pk_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
......@@ -9,7 +9,7 @@ CREATE TABLE tl_job (
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
job_title varchar(500) NOT NULL,
job_title varchar(30) NOT NULL,
job_description text NOT NULL,
job_status varchar(200) NOT NULL,
open_date timestamp NULL,
......@@ -18,17 +18,30 @@ CREATE TABLE tl_job (
assessment_type varchar(200) NOT NULL,
random_key varchar(10) NULL,
job_type varchar(200) NOT NULL,
ref_number varchar(100) NULL,
ref_number varchar(10) NULL,
last_status_change_date timestamp NULL,
remote char(1) NULL,
city varchar(100) NULL,
postcode varchar(100) NULL,
location_radius varchar(200) NOT NULL,
state varchar(200) NULL,
country varchar(200) NULL,
require_cv char(1) NULL,
manually_closed char(1) NULL,
last_edited timestamp NULL,
is_ppj char(1) NULL,
industry varchar(200) NULL,
culture_statement varchar(2000) NULL,
draft_location varchar(200) NULL,
google_address_text varchar(300) NULL,
level_id numeric(12) NULL,
client_id numeric(12) NULL,
job_owner_id numeric(12) NULL,
company_user_id numeric(12) NULL,
shortened_url_id numeric(12) NULL
hiring_team_id numeric(12) NULL,
occupation_id numeric(12) NOT NULL,
shortened_url_id numeric(12) NULL,
template_id numeric(12) NULL
);
......
......@@ -10,8 +10,12 @@ CREATE TABLE tl_job_application (
object_created_date timestamp DEFAULT NOW() NOT NULL
,
cv bytea NULL,
cover_letter bytea NULL,
application_status varchar(200) NOT NULL,
submitted_date timestamp NULL,
google_address_text varchar(300) NULL,
prefer_remote char(1) NULL,
happy_to_relocate char(1) NULL,
candidate_id numeric(12) NOT NULL,
job_id numeric(12) NOT NULL
);
......
-- @AutoRun
-- drop table tl_occupation;
CREATE TABLE tl_occupation (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
code varchar(4) NOT NULL,
name varchar(250) NOT NULL,
level varchar(200) NOT NULL,
parent_occupation_id numeric(12) NULL
);
ALTER TABLE tl_occupation ADD
CONSTRAINT pk_tl_occupation PRIMARY KEY
(
object_id
) ;
CREATE INDEX idx_tl_occupation_parent_occupation_id
ON tl_occupation (parent_occupation_id);
-- @AutoRun
-- drop table tl_payment_plan;
CREATE TABLE tl_payment_plan (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
stripe_reference varchar(100) NOT NULL,
plan_name text NULL,
description text NULL,
currency_type varchar(200) NOT NULL,
amount numeric(20,5) NOT NULL,
interval varchar(200) NOT NULL,
interval_count numeric(12) NOT NULL,
trial_period_days numeric(12) NULL,
active_job_count numeric(12) NULL,
disabled char(1) NULL,
product_reference varchar(100) NULL,
usage_type varchar(200) NULL,
linked_plan varchar(100) NULL
);
ALTER TABLE tl_payment_plan ADD
CONSTRAINT pk_tl_payment_plan PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- @AutoRun
-- drop table it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
xxxx text NULL,
xxxx numeric(12) NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT pk_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
-- @AutoRun
-- drop table it_does_not_matter;
CREATE TABLE it_does_not_matter (
object_id numeric(12) NOT NULL ,
object_last_updated_date timestamp DEFAULT NOW() NOT NULL ,
object_created_date timestamp DEFAULT NOW() NOT NULL
,
xxxx text NULL
);
ALTER TABLE it_does_not_matter ADD
CONSTRAINT pk_it_does_not_matter PRIMARY KEY
(
object_id
) ;
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment