Module: SQL::Sqlite

### Home Classes Methods

### In Files

- lib/dm-migrations/sql/sqlite.rb

### Namespace

- CLASS SQL::Sqlite::Column
- CLASS SQL::Sqlite::Table

### Methods

- #change_column_type_statement
- #recreate_database
- #supports_schema_transactions?
- #supports_serial?
- #table
- #table_options

### Files

- LICENSE
- README.rdoc

### Class/Module Index

Quicksearch

- DataMapper
- DataMapper::Adapters
- DataMapper::Migration
- DataMapper::MigrationRunner
- DataMapper::Migrations
- DataMapper::Migrations::DataObjectsAdapter
- DataMapper::Migrations::DataObjectsAdapter::ClassMethods
- DataMapper::Migrations::DuplicateMigration
- DataMapper::Migrations::Model
- DataMapper::Migrations::MysqlAdapter
- DataMapper::Migrations::MysqlAdapter::ClassMethods
- DataMapper::Migrations::OracleAdapter
- DataMapper::Migrations::OracleAdapter::ClassMethods
- DataMapper::Migrations::PostgresAdapter
- DataMapper::Migrations::PostgresAdapter::ClassMethods
- DataMapper::Migrations::Repository
- DataMapper::Migrations::SingletonMethods
- DataMapper::Migrations::SqliteAdapter
- DataMapper::Migrations::SqliteAdapter::ClassMethods
- DataMapper::Migrations::SqlserverAdapter
- DataMapper::Migrations::SqlserverAdapter::ClassMethods
- DataMapper::Migrations::YamlAdapter
- SQL
- SQL::Column
- SQL::Mysql
- SQL::Mysql::Column
- SQL::Mysql::Table
- SQL::Postgres
- SQL::Postgres::Column
- SQL::Postgres::Table
- SQL::Sqlite
- SQL::Sqlite::Column
- SQL::Sqlite::Table
- SQL::Table
- SQL::TableCreator
- SQL::TableCreator::Column
- SQL::TableCreator::SqlExpr
- SQL::TableModifier
- Spec
- Spec::Example
- Spec::Example::MigrationExampleGroup
- Spec::Matchers
- Spec::Matchers::Migration
- Spec::Matchers::Migration::HaveColumnMatcher
- Spec::Matchers::Migration::HaveTableMatcher
- Spec::Matchers::Migration::NullableColumnMatcher
- Spec::Matchers::Migration::PrimaryKeyMatcher
- Object

No matching classes.

# SQL::Sqlite

### Public Instance Methods

change_column_type_statement(*args) click to toggle source

    # File lib/dm-migrations/sql/sqlite.rb, line 30
    def change_column_type_statement(*args)
      raise NotImplementedError
    end

recreate_database() click to toggle source

    # File lib/dm-migrations/sql/sqlite.rb, line 16
    def recreate_database
      DataMapper.logger.info "Dropping #{@uri.path}"
      FileUtils.rm_f(@uri.path)
      # do nothing, sqlite will automatically create the database file
    end

supports_schema_transactions?() click to toggle source

    # File lib/dm-migrations/sql/sqlite.rb, line 8
    def supports_schema_transactions?
      true
    end

supports_serial?() click to toggle source

    # File lib/dm-migrations/sql/sqlite.rb, line 26
    def supports_serial?
      true
    end

table(table_name) click to toggle source

    # File lib/dm-migrations/sql/sqlite.rb, line 12
    def table(table_name)
      SQL::Sqlite::Table.new(self, table_name)
    end

table_options(opts) click to toggle source

    # File lib/dm-migrations/sql/sqlite.rb, line 22
    def table_options(opts)
      ''
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.