class SQL::Sqlite::Column

Public Class Methods

new(col_struct) click to toggle source
# File lib/dm-migrations/sql/sqlite.rb, line 48
def initialize(col_struct)
  @name, @type, @default_value, @primary_key = col_struct.name, col_struct.type, col_struct.dflt_value, col_struct.pk

  @not_null = col_struct.notnull == 0
end