This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Copyright (c) 2016, Nikolay Polyarnyi | |
# All rights reserved. | |
# | |
import numpy as np | |
def rgb_to_hsv(rgb): | |
""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP VIEW IF EXISTS AreaUsers; | |
DROP VIEW IF EXISTS PersonActualContracts; | |
DROP TABLE IF EXISTS Contracts, ContractTypes, Persons, Areas, AreaTypes, Houses; | |
CREATE TABLE Houses ( | |
HouseId SERIAL PRIMARY KEY NOT NULL, | |
Name VARCHAR(256) NOT NULL, | |
Address VARCHAR(1024) NOT NULL, | |
Phone VARCHAR(256) NOT NULL | |
); |
NewerOlder