Flowdock
method

create_table

Importance_0
Ruby on Rails latest stable (v4.2.1) - 0 notes - Class: SchemaMigration
create_table(limit=nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/schema_migration.rb, line 24
      def create_table(limit=nil)
        unless table_exists?
          version_options = {null: false}
          version_options[:limit] = limit if limit

          connection.create_table(table_name, id: false) do |t|
            t.column :version, :string, version_options
          end
          connection.add_index table_name, :version, unique: true, name: index_name
        end
      end
Register or log in to add new notes.