Sha256: e95eec0e8a2ebee914bacac6b59b473c8109ee2714eb4efbd347bcc37b03bd22
Contents?: true
Size: 515 Bytes
Versions: 2
Compression:
Stored size: 515 Bytes
Contents
ActiveRecord::ConnectionAdapters::SchemaStatements.module_eval do def initialize_schema_migrations_table_with_plugins initialize_schema_migrations_table_without_plugins begin execute "CREATE TABLE #{PluginAWeek::PluginMigrations::Migrator.schema_info_table_name} (plugin_name #{type_to_sql(:string)}, version #{type_to_sql(:integer)})" rescue ActiveRecord::StatementInvalid # Schema has been initialized end end alias_method_chain :initialize_schema_migrations_table, :plugins end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
desert-0.2.0 | lib/desert/plugin_migrations/extensions/2.1/schema_statements.rb |
desert-0.2.1 | lib/desert/plugin_migrations/extensions/2.1/schema_statements.rb |