class SQL::Postgres::Column
Public Class Methods
new(col_struct)
click to toggle source
# File lib/dm-migrations/sql/postgres.rb, line 79 def initialize(col_struct) @name, @type, @default_value = col_struct.column_name, col_struct.data_type, col_struct.column_default @not_null = col_struct.is_nullable != "YES" end