w10schools
Login Register
  • Home
  • Tutorials
    • HTML, CSS
      • HTML, HTML5
      • CSS, CSS3
    • XML
    • JavaScript, AJAX
    • PHP
    • Ruby on Rails
      • Ruby
      • Rails
    • ASP.NET
      • ASP
      • C# .NET
    • Java
      • JSP
    • Databases
      • MySQL
      • MSSQL Server
      • Oracle
    • Web Server
      • Windows
      • Linux
      • Apache
      • IIS
    • Design
      • Dreamweaver
      • Flash
      • Photoshop
      • Fireworks
      • CorelDRAW
      • Illustrator
  • References
    • HTML
      • Bootstrap
    • CSS
      • CSS Selectors
      • Sass
    • JavaScript
    • Mobile Apps
      • Cordova
    • Ruby on Rails
      • Ruby
      • Rails
    • PHP
      • Function
      • Language
      • CodeIgniter
      • Phalcon
      • PHPUnit
      • Symfony
      • Drupal
      • Yii
      • Laravel
    • Perl
      • Perl
    • Python
      • Python
      • Django
      • NumPy
      • Pandas
      • scikit-image
      • scikit-learn
      • Statsmodels
      • Matplotlib
    • Lua
      • Lua
    • C, C++
      • C
      • C++
    • Server
      • Docker
      • Apache HTTP Server
      • Nginx
    • Database
      • PostgreSQL
    • Big Data
      • TensorFlow
    • Game Development
      • Phaser
      • LÖVE
  • Articles
    • News
    • General
      • Website Promotion
      • Online Advertising
      • Make Money Online
    • Editorials
    • Interviews
    • Web Roundups
  • Resources
    • Design
      • Fonts
      • Graphics
      • Vectors
      • Templates
      • UI (User Interface)
      • Brushes
      • Patterns, Backgrounds
      • Textures
    • Web Development
      • HTML, CSS
      • XML
      • JavaScript, AJAX
      • Ruby on Rails
      • PHP
      • Java
      • .NET
      • Python
      • Perl
      • Flash
    • Mobile Application Development
      • Mobile Development Tools
      • Swift
    • Online Services
      • Online Storage
      • Web Hosting
  • Tools
    • Generators
call

call(env) Instance Public methods

new

new(delegate = nil) Class Public methods

change_table

change_table(table_name, options = {}) Instance Public methods

inverse_of

inverse_of(command, args, &block) Instance Public methods Returns the inverse of the given command. For example: recorder.inverse_of(:rename_table, [:old, :new]) # => [:rename_table, [:new, :old]] This method will raise an IrreversibleMigration exception if it cannot invert the command.

record

record(*command, &block) Instance Public methods record command. command should be a method name and arguments. For example: recorder.record(:method_name, [:arg1, :arg2])

revert

revert() Instance Public methods While executing the given block, the recorded will be in reverting mode. All commands recorded will end up being recorded reverted and in reverse order. For example: recorder.revert{ recorder.record(:rename_table, [:old, :new]) } # same effect as recorder.record(:rename_table, [:new, :old])

check_pending!

check_pending!(connection = Base.connection) Class Public methods

disable_ddl_transaction!

disable_ddl_transaction!() Class Public methods Disable DDL transactions for this migration.

load_schema_if_pending!

load_schema_if_pending!() Class Public methods

migrate

migrate(direction) Class Public methods

Popular Articles
urls.ResolverMatch class ResolverMatch [source] func The view function that would be used to serve the URL args The arguments that would be passed to the vi
at_quick_exit Defined in header <stdlib.h> int at_quick_exit( void (*func)() ); (since C11) Registers the function pointed to by func to be ca
std::atomic_fetch_sub Defined in header <atomic> (1) (since C++11) template< class Integral > Integral atomic_fetch_sub( std::atomic<Integral>
ALTER SERVER NameALTER SERVER -- change the definition of a foreign server Synopsis ALTER SERVER name [ VERSION 'new_version' ] [ OPTIONS ( [ ADD | SET
aggregator_theme aggregator_theme() Implements hook_theme(). File core/modules/aggregator/aggregator.module, line 67 Used to aggregate syndicated content (RSS, RDF, a


Page 2138 of 11844

|< < Prev 2135 2136 2137 2138 2139 2140 2141 Next > >|
  • Facebook
  • Tweet
  • Digg it
  • Stumbleupon
  • Delicious
  • Plus Share

Designed by : w10schools

service@w10schools.com

Our Partners: aeeble – Providing content publishing and search solutions