« Feuille classe » : différence entre les versions
Contenu remplacé par « Load both schema.rb and data_schema.rb file into the database » Balise : Contenu remplacé |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
Load both schema.rb and data_schema.rb file into the database | rake action_mailbox:ingress:exim # Relay an inbound email from Exim to Action Mailbox (URL and INGRESS_PASSWORD required) | ||
rake action_mailbox:ingress:postfix # Relay an inbound email from Postfix to Action Mailbox (URL and INGRESS_PASSWORD required) | |||
rake action_mailbox:ingress:qmail # Relay an inbound email from Qmail to Action Mailbox (URL and INGRESS_PASSWORD required) | |||
rake action_mailbox:install # Install Action Mailbox and its dependencies | |||
rake action_mailbox:install:migrations # Copy migrations from action_mailbox to application | |||
rake action_text:install # Copy over the migration, stylesheet, and JavaScript files | |||
rake action_text:install:migrations # Copy migrations from action_text to application | |||
rake active_storage:install # Copy over the migration needed to the application | |||
rake add_tenant[provider,secret] # Add tenant | |||
rake admin:create[name,email,password] # Create an administrator account | |||
rake admin:super_admin[name,email,password] # Create an super admin account | |||
rake app:template # Apply the template supplied by LOCATION=(/path/to/template) or URL | |||
rake app:update # Update configs and some other initially generated files (or use just update:configs or update:bin) | |||
rake assets:clean[keep] # Remove old compiled assets | |||
rake assets:clobber # Remove compiled assets | |||
rake assets:environment # Load asset compile environment | |||
rake assets:precompile # Compile all the assets named in config.assets.precompile | |||
rake cache_digests:dependencies # Lookup first-level dependencies for TEMPLATE (like messages/show or comments/_comment.html) | |||
rake cache_digests:nested_dependencies # Lookup nested dependencies for TEMPLATE (like messages/show or comments/_comment.html) | |||
rake configuration:check # Checks that the application was configured correctly | |||
rake css:build # Build your CSS bundle | |||
rake css:clobber # Remove CSS builds | |||
rake css:install # Install JavaScript dependencies | |||
rake css:install:bootstrap # Install Bootstrap | |||
rake css:install:bulma # Install Bulma | |||
rake css:install:postcss # Install PostCSS | |||
rake css:install:sass # Install Sass | |||
rake css:install:shared # Install shared elements for all bundlers | |||
rake css:install:tailwind # Install Tailwind | |||
rake data:abort_if_pending_migrations # Raises an error if there are pending data migrations | |||
rake data:dump # Create a db/data_schema.rb file that stores the current data version | |||
rake data:forward # Pushes the schema to the next version (specify steps w/ STEP=n) | |||
rake data:migrate # Migrate data migrations (options: VERSION=x, VERBOSE=false) | |||
rake data:migrate:down # Runs the "down" for a given migration VERSION | |||
rake data:migrate:redo # Rollbacks the database one migration and re migrate up (options: STEP=x, VERSION=x) | |||
rake data:migrate:status # Display status of data migrations | |||
rake data:migrate:up # Runs the "up" for a given migration VERSION | |||
rake data:rollback # Rolls the schema back to the previous version (specify steps w/ STEP=n) | |||
rake data:schema:load # Load data_schema.rb file into the database | |||
rake data:version # Retrieves the current schema version number for data migrations | |||
rake db:abort_if_pending_migrations:with_data # Raises an error if there are pending migrations or data migrations | |||
rake db:create # Create the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:create:all to create all databases in the config). ... | |||
rake db:drop # Drop the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:drop:all to drop all databases in the config). Withou... | |||
rake db:encryption:init # Generate a set of keys for configuring Active Record encryption in a given environment | |||
rake db:environment:set # Set the environment value for the database | |||
rake db:fixtures:load # Load fixtures into the current environment's database | |||
rake db:forward:with_data # Pushes the schema to the next version (specify steps w/ STEP=n) | |||
rake db:migrate # Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog) | |||
rake db:migrate:down # Run the "down" for a given migration VERSION | |||
rake db:migrate:down:with_data # Runs the "down" for a given migration VERSION | |||
rake db:migrate:redo # Roll back the database one migration and re-migrate up (options: STEP=x, VERSION=x) | |||
rake db:migrate:redo:with_data # Rollbacks the database one migration and re migrate up (options: STEP=x, VERSION=x) | |||
rake db:migrate:status # Display status of migrations | |||
rake db:migrate:status:with_data # Display status of data and schema migrations | |||
rake db:migrate:up # Run the "up" for a given migration VERSION | |||
rake db:migrate:up:with_data # Runs the "up" for a given migration VERSION | |||
rake db:migrate:with_data # Migrate the database data and schema (options: VERSION=x, VERBOSE=false) | |||
rake db:prepare # Run setup if database does not exist, or run migrations if it does | |||
rake db:reset # Drop and recreate all databases from their schema for the current environment and load the seeds | |||
rake db:rollback # Roll the schema back to the previous version (specify steps w/ STEP=n) | |||
rake db:rollback:with_data # Rolls the schema back to the previous version (specify steps w/ STEP=n) | |||
rake db:schema:cache:clear # Clear a db/schema_cache.yml file | |||
rake db:schema:cache:dump # Create a db/schema_cache.yml file | |||
rake db:schema:dump # Create a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SCHEMA_FORMAT']` or `config.active_record.schema_format`) | |||
rake db:schema:load # Load a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SCHEMA_FORMAT']` or `config.active_record.schema_format`)... | |||
rake db:schema:load:with_data # Load both schema.rb and data_schema.rb file into the database | |||
rake db:seed # Load the seed data from db/seeds.rb | |||
rake db:seed:replant # Truncate tables of each database for current environment and load the seeds | |||
rake db:setup # Create all databases, load all schemas, and initialize with the seed data (use db:reset to also drop all databases first) | |||
rake db:structure:load:with_data # Load both structure.sql and data_schema.rb file into the database | |||
rake db:version # Retrieve the current schema version number | |||
rake db:version:with_data # Retrieves the current schema version numbers for data and schema migrations | |||
rake javascript:build # Build your JavaScript bundle | |||
rake javascript:clobber # Remove JavaScript builds | |||
rake javascript:install # Install JavaScript dependencies | |||
rake javascript:install:bun # Install Bun | |||
rake javascript:install:esbuild # Install esbuild | |||
rake javascript:install:node_shared # Install node-specific elements for bundlers that use node/yarn | |||
rake javascript:install:rollup # Install rollup.js | |||
rake javascript:install:shared # Install shared elements for all bundlers | |||
rake javascript:install:webpack # Install Webpack | |||
rake log:clear # Truncate all/specified *.log files in log/ to zero bytes (specify which logs with LOGS=test,development) | |||
rake poller:meetings_poller # Polls meetings to check if they are still online | |||
rake poller:recordings_poller[interval] # Polls recordings to check if they have been created in GL | |||
rake poller:run_all[interval] # Runs all pollers | |||
rake server_recordings_sync[provider] # Server Recordings sync with BBB server | |||
rake stats # Report code statistics (KLOCs, etc) from the application or engine | |||
rake test # Run all tests in test folder except system ones | |||
rake test:db # Reset the database and run `bin/rails test` | |||
rake time:zones[country_or_offset] # List all time zones, list by two-letter country code (`bin/rails time:zones[US]`), or list by UTC offset (`bin/rails time:zones[-8]`) | |||
rake tmp:clear # Clear cache, socket and screenshot files from tmp/ (narrow w/ tmp:cache:clear, tmp:sockets:clear, tmp:screenshots:clear) | |||
rake tmp:create # Create tmp directories for cache, sockets, and pids | |||
rake user:create[name,email,password,role] # Create a user | |||
rake user:set_admin_role[email] # Set user role to Administrator | |||
rake yarn:install # Install all JavaScript dependencies as specified via Yarn | |||
rake zeitwerk:check # Check project structure for Zeitwerk compatibility |
Version du 24 janvier 2024 à 10:49
rake action_mailbox:ingress:exim # Relay an inbound email from Exim to Action Mailbox (URL and INGRESS_PASSWORD required) rake action_mailbox:ingress:postfix # Relay an inbound email from Postfix to Action Mailbox (URL and INGRESS_PASSWORD required) rake action_mailbox:ingress:qmail # Relay an inbound email from Qmail to Action Mailbox (URL and INGRESS_PASSWORD required) rake action_mailbox:install # Install Action Mailbox and its dependencies rake action_mailbox:install:migrations # Copy migrations from action_mailbox to application rake action_text:install # Copy over the migration, stylesheet, and JavaScript files rake action_text:install:migrations # Copy migrations from action_text to application rake active_storage:install # Copy over the migration needed to the application rake add_tenant[provider,secret] # Add tenant rake admin:create[name,email,password] # Create an administrator account rake admin:super_admin[name,email,password] # Create an super admin account rake app:template # Apply the template supplied by LOCATION=(/path/to/template) or URL rake app:update # Update configs and some other initially generated files (or use just update:configs or update:bin) rake assets:clean[keep] # Remove old compiled assets rake assets:clobber # Remove compiled assets rake assets:environment # Load asset compile environment rake assets:precompile # Compile all the assets named in config.assets.precompile rake cache_digests:dependencies # Lookup first-level dependencies for TEMPLATE (like messages/show or comments/_comment.html) rake cache_digests:nested_dependencies # Lookup nested dependencies for TEMPLATE (like messages/show or comments/_comment.html) rake configuration:check # Checks that the application was configured correctly rake css:build # Build your CSS bundle rake css:clobber # Remove CSS builds rake css:install # Install JavaScript dependencies rake css:install:bootstrap # Install Bootstrap rake css:install:bulma # Install Bulma rake css:install:postcss # Install PostCSS rake css:install:sass # Install Sass rake css:install:shared # Install shared elements for all bundlers rake css:install:tailwind # Install Tailwind rake data:abort_if_pending_migrations # Raises an error if there are pending data migrations rake data:dump # Create a db/data_schema.rb file that stores the current data version rake data:forward # Pushes the schema to the next version (specify steps w/ STEP=n) rake data:migrate # Migrate data migrations (options: VERSION=x, VERBOSE=false) rake data:migrate:down # Runs the "down" for a given migration VERSION rake data:migrate:redo # Rollbacks the database one migration and re migrate up (options: STEP=x, VERSION=x) rake data:migrate:status # Display status of data migrations rake data:migrate:up # Runs the "up" for a given migration VERSION rake data:rollback # Rolls the schema back to the previous version (specify steps w/ STEP=n) rake data:schema:load # Load data_schema.rb file into the database rake data:version # Retrieves the current schema version number for data migrations rake db:abort_if_pending_migrations:with_data # Raises an error if there are pending migrations or data migrations rake db:create # Create the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:create:all to create all databases in the config). ... rake db:drop # Drop the database from DATABASE_URL or config/database.yml for the current RAILS_ENV (use db:drop:all to drop all databases in the config). Withou... rake db:encryption:init # Generate a set of keys for configuring Active Record encryption in a given environment rake db:environment:set # Set the environment value for the database rake db:fixtures:load # Load fixtures into the current environment's database rake db:forward:with_data # Pushes the schema to the next version (specify steps w/ STEP=n) rake db:migrate # Migrate the database (options: VERSION=x, VERBOSE=false, SCOPE=blog) rake db:migrate:down # Run the "down" for a given migration VERSION rake db:migrate:down:with_data # Runs the "down" for a given migration VERSION rake db:migrate:redo # Roll back the database one migration and re-migrate up (options: STEP=x, VERSION=x) rake db:migrate:redo:with_data # Rollbacks the database one migration and re migrate up (options: STEP=x, VERSION=x) rake db:migrate:status # Display status of migrations rake db:migrate:status:with_data # Display status of data and schema migrations rake db:migrate:up # Run the "up" for a given migration VERSION rake db:migrate:up:with_data # Runs the "up" for a given migration VERSION rake db:migrate:with_data # Migrate the database data and schema (options: VERSION=x, VERBOSE=false) rake db:prepare # Run setup if database does not exist, or run migrations if it does rake db:reset # Drop and recreate all databases from their schema for the current environment and load the seeds rake db:rollback # Roll the schema back to the previous version (specify steps w/ STEP=n) rake db:rollback:with_data # Rolls the schema back to the previous version (specify steps w/ STEP=n) rake db:schema:cache:clear # Clear a db/schema_cache.yml file rake db:schema:cache:dump # Create a db/schema_cache.yml file rake db:schema:dump # Create a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SCHEMA_FORMAT']` or `config.active_record.schema_format`) rake db:schema:load # Load a database schema file (either db/schema.rb or db/structure.sql, depending on `ENV['SCHEMA_FORMAT']` or `config.active_record.schema_format`)... rake db:schema:load:with_data # Load both schema.rb and data_schema.rb file into the database rake db:seed # Load the seed data from db/seeds.rb rake db:seed:replant # Truncate tables of each database for current environment and load the seeds rake db:setup # Create all databases, load all schemas, and initialize with the seed data (use db:reset to also drop all databases first) rake db:structure:load:with_data # Load both structure.sql and data_schema.rb file into the database rake db:version # Retrieve the current schema version number rake db:version:with_data # Retrieves the current schema version numbers for data and schema migrations rake javascript:build # Build your JavaScript bundle rake javascript:clobber # Remove JavaScript builds rake javascript:install # Install JavaScript dependencies rake javascript:install:bun # Install Bun rake javascript:install:esbuild # Install esbuild rake javascript:install:node_shared # Install node-specific elements for bundlers that use node/yarn rake javascript:install:rollup # Install rollup.js rake javascript:install:shared # Install shared elements for all bundlers rake javascript:install:webpack # Install Webpack rake log:clear # Truncate all/specified *.log files in log/ to zero bytes (specify which logs with LOGS=test,development) rake poller:meetings_poller # Polls meetings to check if they are still online rake poller:recordings_poller[interval] # Polls recordings to check if they have been created in GL rake poller:run_all[interval] # Runs all pollers rake server_recordings_sync[provider] # Server Recordings sync with BBB server rake stats # Report code statistics (KLOCs, etc) from the application or engine rake test # Run all tests in test folder except system ones rake test:db # Reset the database and run `bin/rails test` rake time:zones[country_or_offset] # List all time zones, list by two-letter country code (`bin/rails time:zones[US]`), or list by UTC offset (`bin/rails time:zones[-8]`) rake tmp:clear # Clear cache, socket and screenshot files from tmp/ (narrow w/ tmp:cache:clear, tmp:sockets:clear, tmp:screenshots:clear) rake tmp:create # Create tmp directories for cache, sockets, and pids rake user:create[name,email,password,role] # Create a user rake user:set_admin_role[email] # Set user role to Administrator rake yarn:install # Install all JavaScript dependencies as specified via Yarn rake zeitwerk:check # Check project structure for Zeitwerk compatibility