Namespace

SQL::Sqlite

Public Instance Methods

change_column_type_statement(*args) click to toggle source
    # File lib/dm-migrations/sql/sqlite.rb, line 30
30:     def change_column_type_statement(*args)
31:       raise NotImplementedError
32:     end
recreate_database() click to toggle source
    # File lib/dm-migrations/sql/sqlite.rb, line 16
16:     def recreate_database
17:       DataMapper.logger.info "Dropping #{@uri.path}"
18:       FileUtils.rm_f(@uri.path)
19:       # do nothing, sqlite will automatically create the database file
20:     end
supports_schema_transactions?() click to toggle source
    # File lib/dm-migrations/sql/sqlite.rb, line 8
 8:     def supports_schema_transactions?
 9:       true
10:     end
supports_serial?() click to toggle source
    # File lib/dm-migrations/sql/sqlite.rb, line 26
26:     def supports_serial?
27:       true
28:     end
table(table_name) click to toggle source
    # File lib/dm-migrations/sql/sqlite.rb, line 12
12:     def table(table_name)
13:       SQL::Sqlite::Table.new(self, table_name)
14:     end
table_options(opts) click to toggle source
    # File lib/dm-migrations/sql/sqlite.rb, line 22
22:     def table_options(opts)
23:       ''
24:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.