erp_app 3.1.8 → 3.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/erp_app/extensions/railties/action_view/base.rb +0 -1
- data/lib/erp_app/extensions/railties/action_view/helpers/include_helper.rb +0 -69
- data/lib/erp_app/version.rb +1 -1
- data/public/javascripts/erp_app/mobile/applications/job_tracker/{store/view → view}/templates.js +1 -1
- data/spec/dummy/db/data_migrations/{20130422163133_create_capability_scope_types.erp_tech_svcs.rb → 20110109173616_create_capability_scope_types.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163128_add_usd_currency.erp_base_erp_svcs.rb → 20110525001935_add_usd_currency.erp_base_erp_svcs.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163129_add_iso_codes.erp_base_erp_svcs.rb → 20110609150135_add_iso_codes.erp_base_erp_svcs.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163138_erp_app_setup.erp_app.rb → 20110728201729_erp_app_setup.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163139_update_preferences.erp_app.rb → 20110728201733_update_preferences.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163134_schedule_delete_expired_sessions_job.erp_tech_svcs.rb → 20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163140_create_desktop_app_audit_log_viewer.erp_app.rb → 20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb} +1 -4
- data/spec/dummy/db/data_migrations/{20130422163141_add_file_manager_application.erp_app.rb → 20110817160743_add_file_manager_application.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +12 -0
- data/spec/dummy/db/data_migrations/{20130422163142_add_default_capabilities.erp_app.rb → 20111108183739_add_default_capabilities.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163143_add_new_contact_widgets.erp_app.rb → 20111108183740_add_new_contact_widgets.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163135_setup_audit_log_types.erp_tech_svcs.rb → 20111111144706_setup_audit_log_types.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb +14 -0
- data/spec/dummy/db/data_migrations/{20130422163144_add_userinfo_widget.erp_app.rb → 20120229160222_add_userinfo_widget.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163145_create_party_and_role_type_for_communication_events.erp_app.rb → 20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb +19 -0
- data/spec/dummy/db/data_migrations/{20130422163147_create_configuration_management_desktop_application.erp_app.rb → 20120418164215_create_configuration_management_desktop_application.erp_app.rb} +0 -4
- data/spec/dummy/db/data_migrations/{20130422163136_create_group_relationship_and_role_types.erp_tech_svcs.rb → 20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163150_upgrade_remove_system_mgmt_app.erp_app.rb → 20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163137_note_capabilities.erp_tech_svcs.rb → 20121130212146_note_capabilities.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/data_migrations/{20130422163151_create_security_management_desktop_application.erp_app.rb → 20121218175028_create_security_management_desktop_application.erp_app.rb} +0 -6
- data/spec/dummy/db/migrate/{20130422163121_base_erp_services.erp_base_erp_svcs.rb → 20130107214535_base_erp_services.erp_base_erp_svcs.rb} +2 -27
- data/spec/dummy/db/migrate/{20130422163126_base_tech_services.erp_tech_svcs.rb → 20130107214536_base_tech_services.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/migrate/{20130422163127_create_has_attribute_tables.erp_tech_svcs.rb → 20130107214537_create_has_attribute_tables.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/migrate/{20130422163128_create_groups.erp_tech_svcs.rb → 20130107214538_create_groups.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/migrate/{20130422163129_upgrade_security.erp_tech_svcs.rb → 20130107214539_upgrade_security.erp_tech_svcs.rb} +0 -0
- data/spec/dummy/db/migrate/{20130422163130_upgrade_security2.erp_tech_svcs.rb → 20130107214540_upgrade_security2.erp_tech_svcs.rb} +0 -5
- data/spec/dummy/db/migrate/{20130422163132_base_app_framework.erp_app.rb → 20130107214541_base_app_framework.erp_app.rb} +0 -0
- data/spec/dummy/db/schema.rb +7 -67
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/{adam.log → development.log} +0 -0
- data/spec/dummy/log/spec.log +23943 -102205
- metadata +62 -85
- data/lib/erp_app/extensions/railties/action_view/helpers/extjs_helper.rb +0 -43
- data/spec/dummy/db/data_migrations/20130422163130_setup_compass_ae_instance.erp_base_erp_svcs.rb +0 -21
- data/spec/dummy/db/data_migrations/20130422163131_upgrade_compass_ae_instances_data.erp_base_erp_svcs.rb +0 -19
- data/spec/dummy/db/data_migrations/20130422163132_add_guid_to_instances.erp_base_erp_svcs.rb +0 -10
- data/spec/dummy/db/data_migrations/20130422163146_create_user_management_mobile_application.erp_app.rb +0 -17
- data/spec/dummy/db/data_migrations/20130422163148_create_job_tracker_desktop_application.erp_app.rb +0 -23
- data/spec/dummy/db/data_migrations/20130422163149_created_tracked_jobs.erp_app.rb +0 -15
- data/spec/dummy/db/data_migrations/20130422163152_add_job_tracker_mobile_app.erp_app.rb +0 -17
- data/spec/dummy/db/migrate/20130422163122_add_txn_status.erp_base_erp_svcs.rb +0 -37
- data/spec/dummy/db/migrate/20130422163123_upgrade_compass_ae_instances.erp_base_erp_svcs.rb +0 -34
- data/spec/dummy/db/migrate/20130422163124_add_uuid_compass_ae_instance.erp_base_erp_svcs.rb +0 -17
- data/spec/dummy/db/migrate/20130422163125_add_long_lat_to_address.erp_base_erp_svcs.rb +0 -16
- data/spec/dummy/db/migrate/20130422163131_add_queue_to_delayed_jobs.erp_tech_svcs.rb +0 -14
- data/spec/dummy/db/migrate/20130422163133_add_job_tracker.erp_app.rb +0 -20
- data/spec/dummy/db/migrate/20130422163134_update_mobile_application.erp_app.rb +0 -28
|
@@ -6,6 +6,5 @@ end
|
|
|
6
6
|
ActionView::Base.class_eval do
|
|
7
7
|
include ErpApp::Extensions::Railties::ActionView::Helpers::IncludeHelper
|
|
8
8
|
include ErpApp::Extensions::Railties::ActionView::Helpers::TagHelper
|
|
9
|
-
include ErpApp::Extensions::Railties::ActionView::Helpers::ExtjsHelper
|
|
10
9
|
include ErpApp::Extensions::Railties::ActionView::Helpers::ActiveExtHelper
|
|
11
10
|
end
|
|
@@ -5,67 +5,6 @@ module ErpApp
|
|
|
5
5
|
module Helpers
|
|
6
6
|
module IncludeHelper
|
|
7
7
|
|
|
8
|
-
def static_javascript_include_tag(*srcs)
|
|
9
|
-
raw srcs.flatten.map { |src| "<script type=\"text/javascript\" src=\"/javascripts/#{src.include?('.js') ? src : "#{src}.js"}\"></script>" }.join("")
|
|
10
|
-
end
|
|
11
|
-
|
|
12
|
-
def static_stylesheet_link_tag(*srcs)
|
|
13
|
-
raw srcs.flatten.map { |src| "<link rel=\"stylesheet\" type=\"text/css\" href=\"/stylesheets/#{src.include?('.css') ? src : "#{src}.css"}\" />" }.join("")
|
|
14
|
-
end
|
|
15
|
-
|
|
16
|
-
def include_extjs(opt={})
|
|
17
|
-
resources = ''
|
|
18
|
-
|
|
19
|
-
if opt[:debug]
|
|
20
|
-
resources << static_javascript_include_tag("extjs/ext-all-debug.js")
|
|
21
|
-
else
|
|
22
|
-
resources << static_javascript_include_tag("extjs/ext-all.js")
|
|
23
|
-
end
|
|
24
|
-
|
|
25
|
-
resources << static_javascript_include_tag("extjs/helpQtip.js")
|
|
26
|
-
resources << static_javascript_include_tag("extjs/ext_ux_tab_close_menu.js")
|
|
27
|
-
resources << static_javascript_include_tag("extjs/Ext.ux.form.MultiSelect.js")
|
|
28
|
-
resources << static_javascript_include_tag("extjs/Ext.ux.CheckColumn.js")
|
|
29
|
-
|
|
30
|
-
if opt[:theme] === false
|
|
31
|
-
#do nothing not theme loaded.
|
|
32
|
-
elsif opt[:theme]
|
|
33
|
-
theme = opt[:theme].split(':')[0]
|
|
34
|
-
sub_theme = opt[:theme].split(':')[1]
|
|
35
|
-
resources << static_stylesheet_link_tag("#{theme}/resources/css/#{sub_theme}.css")
|
|
36
|
-
else
|
|
37
|
-
#this file will effectively be used as the default stylesheet if no theme is selected
|
|
38
|
-
resources << static_stylesheet_link_tag("clifton/resources/css/clifton.css")
|
|
39
|
-
end
|
|
40
|
-
|
|
41
|
-
resources << add_authenticity_token_to_extjs
|
|
42
|
-
|
|
43
|
-
# this requirement is new in ExtJS 4.1
|
|
44
|
-
resources << "<script type=\"text/javascript\">Ext.Loader.setConfig({ enabled: true, disableCaching: false });</script>"
|
|
45
|
-
|
|
46
|
-
raw resources
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
def include_sencha_touch(opt={})
|
|
50
|
-
resources = ''
|
|
51
|
-
|
|
52
|
-
if (opt[:debug])
|
|
53
|
-
resources << static_javascript_include_tag("sencha_touch/sencha-touch-all-debug.js")
|
|
54
|
-
else
|
|
55
|
-
resources << static_javascript_include_tag("sencha_touch/sencha-touch-all.js")
|
|
56
|
-
end
|
|
57
|
-
|
|
58
|
-
if opt[:theme] === false
|
|
59
|
-
#do nothing not theme loaded.
|
|
60
|
-
elsif opt[:theme]
|
|
61
|
-
resources << static_stylesheet_link_tag("sencha_touch/resources/css/#{opt[:theme]}")
|
|
62
|
-
else
|
|
63
|
-
resources << static_stylesheet_link_tag("sencha_touch/resources/css/sencha-touch.css")
|
|
64
|
-
end
|
|
65
|
-
|
|
66
|
-
raw resources
|
|
67
|
-
end
|
|
68
|
-
|
|
69
8
|
def include_highslide(options = {})
|
|
70
9
|
raw case options[:version].to_s.downcase
|
|
71
10
|
when 'full'
|
|
@@ -122,14 +61,6 @@ module ErpApp
|
|
|
122
61
|
raw "<script type=\"text/javascript\">compassAeInstance = #{json_hash.to_json};</script>"
|
|
123
62
|
end
|
|
124
63
|
|
|
125
|
-
def add_authenticity_token_to_extjs
|
|
126
|
-
raw "<script type='text/javascript'>Ext.ns('Compass.ErpApp'); Ext.Ajax.extraParams = { authenticity_token: '#{form_authenticity_token}' }; Compass.ErpApp.AuthentictyToken = '#{form_authenticity_token}';</script>"
|
|
127
|
-
end
|
|
128
|
-
|
|
129
|
-
def create_authenticity_token_sencha_touch_field
|
|
130
|
-
raw "<script type='text/javascript'>Compass.ErpApp.Mobile.AuthentictyTokenField = {xtype:'hiddenfield', name:'authenticity_token', value:'#{form_authenticity_token}'}; </script>"
|
|
131
|
-
end
|
|
132
|
-
|
|
133
64
|
def setSessionTimeout(warn_milli_seconds=((ErpApp::Config.session_warn_after*60)*1000),
|
|
134
65
|
redirect_milli_seconds=((ErpApp::Config.session_redirect_after*60)*1000),
|
|
135
66
|
redirect_to='/session/sign_out')
|
data/lib/erp_app/version.rb
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -12,10 +12,7 @@ class CreateDesktopAppAuditLogViewer
|
|
|
12
12
|
app.preference_types << PreferenceType.iid('desktop_shortcut')
|
|
13
13
|
app.preference_types << PreferenceType.iid('autoload_application')
|
|
14
14
|
app.save
|
|
15
|
-
|
|
16
|
-
admin_user = User.find_by_username('admin')
|
|
17
|
-
admin_user.desktop.applications << app
|
|
18
|
-
admin_user.desktop.save
|
|
15
|
+
|
|
19
16
|
end
|
|
20
17
|
|
|
21
18
|
def self.down
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# This migration comes from erp_tech_svcs (originally 20120109173616)
|
|
2
|
+
class CreateDownloadCapabilityType
|
|
3
|
+
|
|
4
|
+
def self.up
|
|
5
|
+
CapabilityType.create(:internal_identifier => 'download', :description => 'Download')
|
|
6
|
+
Role.create(:description => 'File Downloader', :internal_identifier => 'file_downloader')
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
def self.down
|
|
10
|
+
CapabilityType.where("internal_identifier = 'download'").first.destroy unless Role.where("internal_identifier = 'download'").first.nil?
|
|
11
|
+
Role.where("internal_identifier = 'file_downloader'").first.destroy unless Role.where("internal_identifier = 'file_downloader'").first.nil?
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
end
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# This migration comes from erp_app (originally 20120411180756)
|
|
2
|
+
class CreateUserManagementMobileApplication
|
|
3
|
+
|
|
4
|
+
def self.up
|
|
5
|
+
app = MobileApplication.create(
|
|
6
|
+
:description => 'User Management',
|
|
7
|
+
:icon => 'icon-user',
|
|
8
|
+
:internal_identifier => 'user_management',
|
|
9
|
+
:base_url => '/erp_app/mobile/user_management/index'
|
|
10
|
+
)
|
|
11
|
+
|
|
12
|
+
app.save
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
def self.down
|
|
16
|
+
MobileApplication.destroy_all("internal_identifier = 'user_management'")
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
end
|
|
@@ -15,10 +15,6 @@ class CreateConfigurationManagementDesktopApplication
|
|
|
15
15
|
pt2 = PreferenceType.iid('autoload_application')
|
|
16
16
|
pt2.preferenced_records << app
|
|
17
17
|
pt2.save
|
|
18
|
-
|
|
19
|
-
admin_user = User.find_by_username('admin')
|
|
20
|
-
admin_user.desktop.applications << app
|
|
21
|
-
admin_user.desktop.save
|
|
22
18
|
end
|
|
23
19
|
|
|
24
20
|
def self.down
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -15,12 +15,6 @@ class CreateSecurityManagementDesktopApplication
|
|
|
15
15
|
pt2 = PreferenceType.iid('autoload_application')
|
|
16
16
|
pt2.preferenced_records << app
|
|
17
17
|
pt2.save
|
|
18
|
-
|
|
19
|
-
admin_user = User.find_by_username('admin')
|
|
20
|
-
if admin_user
|
|
21
|
-
admin_user.desktop.applications << app
|
|
22
|
-
admin_user.desktop.save
|
|
23
|
-
end
|
|
24
18
|
end
|
|
25
19
|
|
|
26
20
|
def self.down
|
|
@@ -4,35 +4,10 @@ class BaseErpServices < ActiveRecord::Migration
|
|
|
4
4
|
|
|
5
5
|
unless table_exists?(:compass_ae_instances)
|
|
6
6
|
create_table :compass_ae_instances do |t|
|
|
7
|
-
t.string :description
|
|
8
|
-
t.string :internal_identifier
|
|
9
7
|
t.decimal :version, :precision => 8, :scale => 3
|
|
10
|
-
t.string :type
|
|
11
|
-
t.string :schema, :default => 'public'
|
|
12
|
-
t.integer :parent_id
|
|
13
8
|
|
|
14
9
|
t.timestamps
|
|
15
10
|
end
|
|
16
|
-
|
|
17
|
-
add_index :compass_ae_instances, :internal_identifier, :name => "iid_idx"
|
|
18
|
-
add_index :compass_ae_instances, :schema, :name => "schema_idx"
|
|
19
|
-
add_index :compass_ae_instances, :type, :name => "type_idx"
|
|
20
|
-
add_index :compass_ae_instances, :parent_id, :name => "parent_id_idx"
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
unless table_exists?(:compass_ae_instance_party_roles)
|
|
24
|
-
create_table :compass_ae_instance_party_roles do |t|
|
|
25
|
-
t.string :description
|
|
26
|
-
t.integer :compass_ae_instance_id
|
|
27
|
-
t.integer :party_id
|
|
28
|
-
t.integer :role_type_id
|
|
29
|
-
|
|
30
|
-
t.timestamps
|
|
31
|
-
end
|
|
32
|
-
|
|
33
|
-
add_index :compass_ae_instance_party_roles, :compass_ae_instance_id, :name => "compass_ae_instance_id_idx"
|
|
34
|
-
add_index :compass_ae_instance_party_roles, :party_id, :name => "party_id_idx"
|
|
35
|
-
add_index :compass_ae_instance_party_roles, :role_type_id, :name => "role_type_id_idx"
|
|
36
11
|
end
|
|
37
12
|
|
|
38
13
|
# Create parties table
|
|
@@ -43,7 +18,7 @@ class BaseErpServices < ActiveRecord::Migration
|
|
|
43
18
|
t.column :business_party_type, :string
|
|
44
19
|
t.column :list_view_image_id, :integer
|
|
45
20
|
|
|
46
|
-
#This field is here to provide a direct way to map
|
|
21
|
+
#This field is here to provide a direct way to map CompassERP
|
|
47
22
|
#business parties to unified idenfiers in organizations if they
|
|
48
23
|
#have been implemented in an enterprise.
|
|
49
24
|
t.column :enterprise_identifier, :string
|
|
@@ -469,7 +444,7 @@ class BaseErpServices < ActiveRecord::Migration
|
|
|
469
444
|
|
|
470
445
|
def self.down
|
|
471
446
|
[
|
|
472
|
-
:currencies, :money,
|
|
447
|
+
:currencies, :money,
|
|
473
448
|
:party_search_facts, :phone_numbers, :email_addresses,
|
|
474
449
|
:postal_addresses, :contact_purposes, :contact_types,
|
|
475
450
|
:contacts, :individuals, :organizations,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -139,11 +139,6 @@ class UpgradeSecurity2 < ActiveRecord::Migration
|
|
|
139
139
|
end
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
# adding user mgmt capabilities to admin role
|
|
143
|
-
admin.add_capability('create', 'User')
|
|
144
|
-
admin.add_capability('delete', 'User')
|
|
145
|
-
admin.add_capability('edit', 'User')
|
|
146
|
-
|
|
147
142
|
# add knitkit class capabilities to roles
|
|
148
143
|
admin.add_capability('create', 'WebsiteNav')
|
|
149
144
|
admin.add_capability('delete', 'WebsiteNav')
|
|
File without changes
|
data/spec/dummy/db/schema.rb
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#
|
|
12
12
|
# It's strongly recommended to check this file into your version control system.
|
|
13
13
|
|
|
14
|
-
ActiveRecord::Schema.define(:version =>
|
|
14
|
+
ActiveRecord::Schema.define(:version => 20130107214541) do
|
|
15
15
|
|
|
16
16
|
create_table "app_containers", :force => true do |t|
|
|
17
17
|
t.integer "user_id"
|
|
@@ -39,7 +39,7 @@ ActiveRecord::Schema.define(:version => 20130422163134) do
|
|
|
39
39
|
t.string "internal_identifier"
|
|
40
40
|
t.string "javascript_class_name"
|
|
41
41
|
t.string "shortcut_id"
|
|
42
|
-
t.string "
|
|
42
|
+
t.string "base_url"
|
|
43
43
|
t.string "type"
|
|
44
44
|
t.datetime "created_at", :null => false
|
|
45
45
|
t.datetime "updated_at", :null => false
|
|
@@ -198,37 +198,12 @@ ActiveRecord::Schema.define(:version => 20130422163134) do
|
|
|
198
198
|
|
|
199
199
|
add_index "category_classifications", ["classification_id", "classification_type"], :name => "classification_polymorphic"
|
|
200
200
|
|
|
201
|
-
create_table "compass_ae_instance_party_roles", :force => true do |t|
|
|
202
|
-
t.string "description"
|
|
203
|
-
t.integer "compass_ae_instance_id"
|
|
204
|
-
t.integer "party_id"
|
|
205
|
-
t.integer "role_type_id"
|
|
206
|
-
t.datetime "created_at", :null => false
|
|
207
|
-
t.datetime "updated_at", :null => false
|
|
208
|
-
end
|
|
209
|
-
|
|
210
|
-
add_index "compass_ae_instance_party_roles", ["compass_ae_instance_id"], :name => "compass_ae_instance_id_idx"
|
|
211
|
-
add_index "compass_ae_instance_party_roles", ["party_id"], :name => "party_id_idx"
|
|
212
|
-
add_index "compass_ae_instance_party_roles", ["role_type_id"], :name => "role_type_id_idx"
|
|
213
|
-
|
|
214
201
|
create_table "compass_ae_instances", :force => true do |t|
|
|
215
|
-
t.
|
|
216
|
-
t.
|
|
217
|
-
t.
|
|
218
|
-
t.string "type"
|
|
219
|
-
t.string "schema", :default => "public"
|
|
220
|
-
t.integer "parent_id"
|
|
221
|
-
t.datetime "created_at", :null => false
|
|
222
|
-
t.datetime "updated_at", :null => false
|
|
223
|
-
t.string "guid"
|
|
202
|
+
t.decimal "version", :precision => 8, :scale => 3
|
|
203
|
+
t.datetime "created_at", :null => false
|
|
204
|
+
t.datetime "updated_at", :null => false
|
|
224
205
|
end
|
|
225
206
|
|
|
226
|
-
add_index "compass_ae_instances", ["guid"], :name => "guid_idx"
|
|
227
|
-
add_index "compass_ae_instances", ["internal_identifier"], :name => "iid_idx"
|
|
228
|
-
add_index "compass_ae_instances", ["parent_id"], :name => "parent_id_idx"
|
|
229
|
-
add_index "compass_ae_instances", ["schema"], :name => "schema_idx"
|
|
230
|
-
add_index "compass_ae_instances", ["type"], :name => "type_idx"
|
|
231
|
-
|
|
232
207
|
create_table "configuration_item_types", :force => true do |t|
|
|
233
208
|
t.integer "parent_id"
|
|
234
209
|
t.integer "lft"
|
|
@@ -490,14 +465,6 @@ ActiveRecord::Schema.define(:version => 20130422163134) do
|
|
|
490
465
|
|
|
491
466
|
add_index "individuals", ["party_id"], :name => "index_individuals_on_party_id"
|
|
492
467
|
|
|
493
|
-
create_table "job_trackers", :force => true do |t|
|
|
494
|
-
t.string "job_name"
|
|
495
|
-
t.string "job_klass"
|
|
496
|
-
t.string "run_time"
|
|
497
|
-
t.datetime "last_run_at"
|
|
498
|
-
t.datetime "next_run_at"
|
|
499
|
-
end
|
|
500
|
-
|
|
501
468
|
create_table "money", :force => true do |t|
|
|
502
469
|
t.string "description"
|
|
503
470
|
t.decimal "amount", :precision => 8, :scale => 2
|
|
@@ -641,10 +608,8 @@ ActiveRecord::Schema.define(:version => 20130422163134) do
|
|
|
641
608
|
t.string "description"
|
|
642
609
|
t.integer "geo_country_id"
|
|
643
610
|
t.integer "geo_zone_id"
|
|
644
|
-
t.datetime "created_at",
|
|
645
|
-
t.datetime "updated_at",
|
|
646
|
-
t.decimal "latitude", :precision => 12, :scale => 8
|
|
647
|
-
t.decimal "longitude", :precision => 12, :scale => 8
|
|
611
|
+
t.datetime "created_at", :null => false
|
|
612
|
+
t.datetime "updated_at", :null => false
|
|
648
613
|
end
|
|
649
614
|
|
|
650
615
|
add_index "postal_addresses", ["geo_country_id"], :name => "index_postal_addresses_on_geo_country_id"
|
|
@@ -745,31 +710,6 @@ ActiveRecord::Schema.define(:version => 20130422163134) do
|
|
|
745
710
|
add_index "sessions", ["session_id"], :name => "index_sessions_on_session_id"
|
|
746
711
|
add_index "sessions", ["updated_at"], :name => "index_sessions_on_updated_at"
|
|
747
712
|
|
|
748
|
-
create_table "status_applications", :force => true do |t|
|
|
749
|
-
t.integer "tracked_status_type_id"
|
|
750
|
-
t.integer "status_application_record_id"
|
|
751
|
-
t.string "status_application_record_type"
|
|
752
|
-
t.datetime "from_date"
|
|
753
|
-
t.datetime "thru_date"
|
|
754
|
-
t.datetime "created_at", :null => false
|
|
755
|
-
t.datetime "updated_at", :null => false
|
|
756
|
-
end
|
|
757
|
-
|
|
758
|
-
add_index "status_applications", ["from_date"], :name => "from_date_idx"
|
|
759
|
-
add_index "status_applications", ["status_application_record_id", "status_application_record_type"], :name => "status_applications_record_idx"
|
|
760
|
-
add_index "status_applications", ["thru_date"], :name => "thru_date_idx"
|
|
761
|
-
add_index "status_applications", ["tracked_status_type_id"], :name => "tracked_status_type_id_idx"
|
|
762
|
-
|
|
763
|
-
create_table "tracked_status_types", :force => true do |t|
|
|
764
|
-
t.string "description"
|
|
765
|
-
t.string "internal_identifier"
|
|
766
|
-
t.string "external_identifier"
|
|
767
|
-
t.datetime "created_at", :null => false
|
|
768
|
-
t.datetime "updated_at", :null => false
|
|
769
|
-
end
|
|
770
|
-
|
|
771
|
-
add_index "tracked_status_types", ["internal_identifier"], :name => "tracked_status_types_iid_idx"
|
|
772
|
-
|
|
773
713
|
create_table "tree_menu_node_defs", :force => true do |t|
|
|
774
714
|
t.string "node_type"
|
|
775
715
|
t.integer "parent_id"
|
data/spec/dummy/db/spec.sqlite3
CHANGED
|
Binary file
|
|
File without changes
|