w10schools
Login
Register
In current category
Only my posts
MENU
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
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
Edit
Toggle Dropdown
In Place Editing
Advanced Editing
References
Ruby on Rails
Rails
Classes
ActiveRecord
ActiveRecord::ConnectionAdapters
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::SchemaStatements
Language
Default
Markdown
create_schema
create_schema
(schema_name)
Instance Public methods
Creates a schema for the given schema name.
Links:
https://github.com/rails/rails/blob/1460470005f2d98efc7ee95be8cd0cedd17b3880/activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb#L241
doc_ruby_on_rails
2025-01-10 15:47:30
Comments
Leave a Comment
Please
login
to continue.
Popular Articles
CREATE SCHEMA
NameCREATE SCHEMA -- define a new schema Synopsis CREATE SCHEMA schema_name [ AUTHORIZATION role_specification ] [ schema_element [ ... ] ] CRE
db.backends.base.schema.BaseDatabaseSchemaEditor.create_model()
BaseDatabaseSchemaEditor.create_model(model) [source] Creates a new table in the database for the provided model, along with any unique constraint
Schemas
A PostgreSQL database cluster contains one or more named databases. Users and groups of users are shared across the entire cluster, but no other data
Schema
PostgreSQL implementation of \Drupal\Core\Database\Schema. Hierarchy class \Drupal\Core\Database\Schema implements PlaceholderInterfaceclass \Drupal\
Schema
Provides a base implementation for Database Schema. Hierarchy class \Drupal\Core\Database\Schema implements PlaceholderInterface File core/lib/Dru
Return to View
^ Back to Top
Please login to continue.